Table of Contents

Class PrimitivesPropertyItemBase

Namespace
H.Controls.Form.PropertyItem.ObservableCollectionPropertyItems.Base
Assembly
H.Controls.Form.PropertyItem.dll
public abstract class PrimitivesPropertyItemBase : ObjectPropertyItem<ObservableCollection<StringHost>>, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, IPropertyItem, IValueChangeable, IBindingVisibleable, IRefreshOnValueChanged, IDataErrorInfo, IDisposable
Inheritance
PrimitivesPropertyItemBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

PrimitivesPropertyItemBase(PropertyInfo, object)

public PrimitivesPropertyItemBase(PropertyInfo property, object obj)

Parameters

property PropertyInfo
obj object

Properties

AddCommand

public RelayCommand AddCommand { get; set; }

Property Value

RelayCommand

Methods

CheckType(ObservableCollection<StringHost>, out string)

验证数据类型是否合法

protected override bool CheckType(ObservableCollection<StringHost> value, out string error)

Parameters

value ObservableCollection<StringHost>
error string

Returns

bool

~PrimitivesPropertyItemBase()

protected ~PrimitivesPropertyItemBase()

GetElementType()

protected abstract Type GetElementType()

Returns

Type

GetValue()

protected override ObservableCollection<StringHost> GetValue()

Returns

ObservableCollection<StringHost>

RefreshValue()

public void RefreshValue()