Table of Contents

AttachedSettingsControlPresenter 类

命名空间
ClassIsland.Core.Controls
程序集
ClassIsland.Core.dll

AttachedSettingsControlPresenter.xaml 的交互逻辑

public class AttachedSettingsControlPresenter : UserControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
继承
AttachedSettingsControlPresenter
实现
继承成员

构造函数

AttachedSettingsControlPresenter()

public AttachedSettingsControlPresenter()

AttachedSettingsControlPresenter(IProfileAnalyzeService, IProfileService, IManagementService)

public AttachedSettingsControlPresenter(IProfileAnalyzeService profileAnalyzeService, IProfileService profileService, IManagementService managementService)

参数

profileAnalyzeService IProfileAnalyzeService
profileService IProfileService
managementService IManagementService

字段

AssociatedAttachedSettingsProperty

public static readonly DependencyProperty AssociatedAttachedSettingsProperty

字段值

DependencyProperty

ContentIdProperty

public static readonly DependencyProperty ContentIdProperty

字段值

DependencyProperty

ContentIndexProperty

public static readonly DependencyProperty ContentIndexProperty

字段值

DependencyProperty

ContentObjectProperty

public static readonly DependencyProperty ContentObjectProperty

字段值

DependencyProperty

ControlInfoProperty

public static readonly DependencyProperty ControlInfoProperty

字段值

DependencyProperty

IsDependencyModeProperty

public static readonly DependencyProperty IsDependencyModeProperty

字段值

DependencyProperty

IsPopupOpenedProperty

public static readonly DependencyProperty IsPopupOpenedProperty

字段值

DependencyProperty

StateProperty

public static readonly DependencyProperty StateProperty

字段值

DependencyProperty

TargetObjectProperty

public static readonly DependencyProperty TargetObjectProperty

字段值

DependencyProperty

属性

AssociatedAttachedSettings

public IAttachedSettings? AssociatedAttachedSettings { get; set; }

属性值

IAttachedSettings

ContentId

public string ContentId { get; set; }

属性值

string

ContentIndex

public int ContentIndex { get; set; }

属性值

int

ContentObject

public object? ContentObject { get; set; }

属性值

object

ControlInfo

public AttachedSettingsControlInfo? ControlInfo { get; set; }

属性值

AttachedSettingsControlInfo

DependencyItemPackIconKind

public PackIconKind DependencyItemPackIconKind { get; set; }

属性值

PackIconKind

DependencyItemTitle

public string DependencyItemTitle { get; set; }

属性值

string

IsDependencyMode

public bool IsDependencyMode { get; set; }

属性值

bool

IsLoading

public bool IsLoading { get; set; }

属性值

bool

IsPopupOpened

public bool IsPopupOpened { get; set; }

属性值

bool

ManagementService

public IManagementService ManagementService { get; }

属性值

IManagementService

NextItems

public ObservableCollection<AttachableObjectNode> NextItems { get; set; }

属性值

ObservableCollection<AttachableObjectNode>

PreviousItems

public ObservableCollection<AttachableObjectNode> PreviousItems { get; set; }

属性值

ObservableCollection<AttachableObjectNode>

ProfileAnalyzeService

public IProfileAnalyzeService? ProfileAnalyzeService { get; }

属性值

IProfileAnalyzeService

ProfileService

public IProfileService ProfileService { get; }

属性值

IProfileService

State

public AttachedSettingsControlState State { get; set; }

属性值

AttachedSettingsControlState

TargetObject

public AttachableSettingsObject? TargetObject { get; set; }

属性值

AttachableSettingsObject

方法

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnPropertyChanged(string?)

protected virtual void OnPropertyChanged(string? propertyName = null)

参数

propertyName string

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(DependencyPropertyChangedEventArgs).

protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)

参数

e DependencyPropertyChangedEventArgs

The event data that describes the property that changed, as well as old and new values.

SetField<T>(ref T, T, string?)

protected bool SetField<T>(ref T field, T value, string? propertyName = null)

参数

field T
value T
propertyName string

返回

bool

类型参数

T

事件

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler? PropertyChanged

事件类型

PropertyChangedEventHandler