PropertyItem
StockSharp.Xaml.PropertyGrid.Maui
Represents a property item in the property grid.
构造函数
PropertyItem(PropertyInfo, object)
Creates a new property item.
属性
Description : string
Property description (from DescriptionAttribute).
DisplayName : string
Display name (from DisplayAttribute or DisplayNameAttribute).
EnumValues : Array
Enum values for enum properties.
IsReadOnly : bool
Whether the property is read-only.
PropertyInfo : PropertyInfo
The PropertyInfo for reflection.
PropertyType : Type
Property type.
ValueAsBool : bool
Value as bool for switch binding.
ValueAsString : string
Value as string for display.
方法
OnPropertyChanged(string)
Raises the PropertyChanged event.
RefreshValue()
Refreshes the value from the target object.
事件
PropertyChanged : PropertyChangedEventHandler
Property changed event.