Class PaletteTreeItem
Элемент палитры.
Namespace: StockSharp.Xaml.Diagram
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
public class PaletteTreeItem : Object, IPersistable, INotifyPropertyChanged
Constructors
PaletteTreeItem()
Declaration
public PaletteTreeItem()
Properties
Element
The diagram element.
Declaration
public DiagramElement Element { get; set; }
Property Value
Type | Description |
---|---|
DiagramElement |
Icon
Иконка.
Declaration
public ImageSource Icon { get; }
Property Value
Type | Description |
---|---|
ImageSource |
Id
Identifier.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
IsExpanded
Раскрыта ли строка.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
ParentId
Родительский идентификатор.
Declaration
public Guid ParentId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
Load(SettingsStorage)
Загрузить настройки.
Declaration
public void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Save(SettingsStorage)
Сохранить настройки.
Declaration
public void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Events
Changed
Событие изменения свойств элемента дерева.
Declaration
public event Action Changed
Event Type
Type | Description |
---|---|
Action |
ParentChanged
Событие изменения родительского элемента.
Declaration
public event Action<Guid, Guid, PaletteTreeItem> ParentChanged
Event Type
Type | Description |
---|---|
Action<Guid, Guid, PaletteTreeItem> |
PropertyChanged
Событие изменения значения свойств соединения.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |
Implements
Ecng.Serialization.IPersistable