DiagramPropertiesPanel
StockSharp.Xaml.Diagram.Avalonia.Controls
Панель свойств для редактирования свойств элементов диаграммы.
Наследует: UserControl
Конструкторы
DiagramPropertiesPanel
public DiagramPropertiesPanel()
diagramPropertiesPanel = DiagramPropertiesPanel()
Инициирует новый экземпляр документа DiagramPropertiesPanel.
Свойства
Element
public DiagramElement Element { get; set; }
value = diagramPropertiesPanel.Element
diagramPropertiesPanel.Element = value
Элемент для отображения свойств.
IsExpanded
public bool IsExpanded { get; set; }
value = diagramPropertiesPanel.IsExpanded
diagramPropertiesPanel.IsExpanded = value
Расширяется ли панель.
Методы
OnPropertyChanged
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
diagramPropertiesPanel.OnPropertyChanged(change)
События
CloseRequested
public event EventHandler CloseRequested
diagramPropertiesPanel.CloseRequested += handler
Происходит при нажатии кнопки закрытия.
PropertyValueChanged
public event EventHandler<PropertyChangedEventArgs> PropertyValueChanged
diagramPropertiesPanel.PropertyValueChanged += handler
Происходит при изменении значения свойства.
Поля
ElementProperty
public static readonly StyledProperty<DiagramElement> ElementProperty
value = DiagramPropertiesPanel.ElementProperty
Идентифицирует свойство зависимости элемента.
IsExpandedProperty
public static readonly StyledProperty<bool> IsExpandedProperty
value = DiagramPropertiesPanel.IsExpandedProperty
Идентифицирует свойство зависимости IsExpanded.