PaletteCategory

StockSharp.Xaml.Diagram.Controls

Represents an expanded category of diagram palette items.

属性

IsExpanded
public bool IsExpanded { get; set; }
value = paletteCategory.IsExpanded
paletteCategory.IsExpanded = value

Gets or sets whether the category is expanded.

Items
public ObservableCollection<PaletteItem> Items { get; }
value = paletteCategory.Items

Gets the items in this category.

Name
public string Name { get; set; }
value = paletteCategory.Name
paletteCategory.Name = value

Gets or sets the localized category name.

方法

AddRange
public void AddRange(IEnumerable<PaletteItem> items)
paletteCategory.AddRange(items)

Adds all items while preserving their current order.

items
Items to add.
ToString
public override string ToString()
result = paletteCategory.ToString()

Returns a string representation of the tuple, with values separated by commas.

返回值: A string representing the tuple's values.