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
IProfileAnalyzeServiceprofileService
IProfileServicemanagementService
IManagementService
字段
AssociatedAttachedSettingsProperty
public static readonly DependencyProperty AssociatedAttachedSettingsProperty
字段值
ContentIdProperty
public static readonly DependencyProperty ContentIdProperty
字段值
ContentIndexProperty
public static readonly DependencyProperty ContentIndexProperty
字段值
ContentObjectProperty
public static readonly DependencyProperty ContentObjectProperty
字段值
ControlInfoProperty
public static readonly DependencyProperty ControlInfoProperty
字段值
IsDependencyModeProperty
public static readonly DependencyProperty IsDependencyModeProperty
字段值
IsPopupOpenedProperty
public static readonly DependencyProperty IsPopupOpenedProperty
字段值
StateProperty
public static readonly DependencyProperty StateProperty
字段值
TargetObjectProperty
public static readonly DependencyProperty TargetObjectProperty
字段值
属性
AssociatedAttachedSettings
public IAttachedSettings? AssociatedAttachedSettings { get; set; }
属性值
ContentId
public string ContentId { get; set; }
属性值
ContentIndex
public int ContentIndex { get; set; }
属性值
ContentObject
public object? ContentObject { get; set; }
属性值
ControlInfo
public AttachedSettingsControlInfo? ControlInfo { get; set; }
属性值
DependencyItemPackIconKind
public PackIconKind DependencyItemPackIconKind { get; set; }
属性值
- PackIconKind
DependencyItemTitle
public string DependencyItemTitle { get; set; }
属性值
IsDependencyMode
public bool IsDependencyMode { get; set; }
属性值
IsLoading
public bool IsLoading { get; set; }
属性值
IsPopupOpened
public bool IsPopupOpened { get; set; }
属性值
ManagementService
public IManagementService ManagementService { get; }
属性值
NextItems
public ObservableCollection<AttachableObjectNode> NextItems { get; set; }
属性值
PreviousItems
public ObservableCollection<AttachableObjectNode> PreviousItems { get; set; }
属性值
ProfileAnalyzeService
public IProfileAnalyzeService? ProfileAnalyzeService { get; }
属性值
ProfileService
public IProfileService ProfileService { get; }
属性值
State
public AttachedSettingsControlState State { get; set; }
属性值
TargetObject
public AttachableSettingsObject? TargetObject { get; set; }
属性值
方法
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
DependencyPropertyChangedEventArgsThe 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
Tvalue
TpropertyName
string
返回
类型参数
T
事件
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler? PropertyChanged