PropertyItem

StockSharp.Xaml.PropertyGrid.Maui

プロパティグリッドにプロパティ項目を表現します。

実装: INotifyPropertyChanged

コンストラクター

PropertyItem
public PropertyItem(PropertyInfo propertyInfo, object target)
propertyItem = PropertyItem(propertyInfo, target)

新規プロパティアイテムを作成します。

プロパティ

Category
public string Category { get; }
value = propertyItem.Category

所属部署名(CategoryAttribute)

Description
public string Description { get; }
value = propertyItem.Description

プロパティの説明(DescriptionAttribute)から。

DisplayName
public string DisplayName { get; }
value = propertyItem.DisplayName

ディスプレイ名(DisplayAttributeまたはDisplayNameAttribute)

EnumValues
public Array EnumValues { get; }
value = propertyItem.EnumValues

列挙プロパティの列の値。

IsBasic
public bool IsBasic { get; }
value = propertyItem.IsBasic

基本的プロパティ(基本モード)であるかどうか。

IsBool
public bool IsBool { get; }
value = propertyItem.IsBool

プロパティがブール値であるかどうか。

IsEnum
public bool IsEnum { get; }
value = propertyItem.IsEnum

プロパティが列挙されているかどうか。

IsNumeric
public bool IsNumeric { get; }
value = propertyItem.IsNumeric

プロパティが数値であるかどうか。

IsReadOnly
public bool IsReadOnly { get; set; }
value = propertyItem.IsReadOnly
propertyItem.IsReadOnly = value

プロパティが読み取り専用であるか。

IsText
public bool IsText { get; }
value = propertyItem.IsText

プロパティが文字列か単純なテキストタイプであるかどうか。

Name
public string Name { get; }
value = propertyItem.Name

プロパティ名。

Order
public int Order { get; }
value = propertyItem.Order

ディスプレイ注文。

PropertyInfo
public PropertyInfo PropertyInfo { get; }
value = propertyItem.PropertyInfo

The PropertyInfo for reflection.

PropertyType
public Type PropertyType { get; }
value = propertyItem.PropertyType

プロパティタイプ。

Target
public object Target { get; }
value = propertyItem.Target

対象オブジェクト。

Value
public object Value { get; set; }
value = propertyItem.Value
propertyItem.Value = value

現在のプロパティ値。

ValueAsBool
public bool ValueAsBool { get; set; }
value = propertyItem.ValueAsBool
propertyItem.ValueAsBool = value

スイッチ結合のためのボールとして価値。

ValueAsString
public string ValueAsString { get; set; }
value = propertyItem.ValueAsString
propertyItem.ValueAsString = value

ディスプレイの文字列として値します。

メソッド

OnPropertyChanged
protected virtual void OnPropertyChanged(string propertyName)
propertyItem.OnPropertyChanged(propertyName)

Raises the PropertyChanged event.

RefreshValue
public void RefreshValue()
propertyItem.RefreshValue()

対象オブジェクトから値をリフレッシュします。

イベント

PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
propertyItem.PropertyChanged += handler

プロパティ変更イベント。