PropertyItem

StockSharp.Xaml.PropertyGrid.Maui

Represents a property item in the property grid.

Implements: INotifyPropertyChanged

Constructors

PropertyItem(PropertyInfo, object)

Creates a new property item.

Properties

Category : string

Category name (from CategoryAttribute).

Description : string

Property description (from DescriptionAttribute).

DisplayName : string

Display name (from DisplayAttribute or DisplayNameAttribute).

EnumValues : Array

Enum values for enum properties.

IsBasic : bool

Whether this is a basic property (shown in basic mode).

IsBool : bool

Whether the property is a boolean.

IsEnum : bool

Whether the property is an enum.

IsNumeric : bool

Whether the property is numeric.

IsReadOnly : bool

Whether the property is read-only.

IsText : bool

Whether the property is a string or simple text type.

Name : string

Property name.

Order : int

Display order.

PropertyInfo : PropertyInfo

The PropertyInfo for reflection.

PropertyType : Type

Property type.

Target : object

The target object.

Value : object

Current property value.

ValueAsBool : bool

Value as bool for switch binding.

ValueAsString : string

Value as string for display.

Methods

OnPropertyChanged(string)

Raises the PropertyChanged event.

RefreshValue()

Refreshes the value from the target object.

Events

PropertyChanged : PropertyChangedEventHandler

Property changed event.