EntityPropertyPicker
StockSharp.Xaml.Diagram.Controls
Picks a property of an entity from the tree of its nested properties, as the converter cube of the WPF head does: the tree drops down under a button that says the property picked by the names of its levels, and the pick is stored as the property's whole path.
Erbt von: UserControl
Konstruktoren
EntityPropertyPicker
public EntityPropertyPicker()
entityPropertyPicker = EntityPropertyPicker()
Initializes a new instance of the EntityPropertyPicker.
Eigenschaften
Properties
public IEnumerable<EntityProperty> Properties { get; set; }
value = entityPropertyPicker.Properties
entityPropertyPicker.Properties = value
The properties that can be picked: the first level of the tree, each with the ones nested in it.
Value
public string Value { get; set; }
value = entityPropertyPicker.Value
entityPropertyPicker.Value = value
The path of the property picked.
Methoden
OnPropertyChanged
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
entityPropertyPicker.OnPropertyChanged(change)
Pick
internal void Pick(EntityProperty property)
entityPropertyPicker.Pick(property)
Picks a property, as a press on it in the tree does.
- property
- The property.
Felder
PropertiesProperty
public static readonly StyledProperty<IEnumerable<EntityProperty>> PropertiesProperty
value = EntityPropertyPicker.PropertiesProperty
Identifies the Properties styled property.
ValueProperty
public static readonly StyledProperty<string> ValueProperty
value = EntityPropertyPicker.ValueProperty
Identifies the Value styled property.