Table of Contents

Class ObservableCollectionPropertyItem

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

Constructors

ObservableCollectionPropertyItem(PropertyInfo, object)

public ObservableCollectionPropertyItem(PropertyInfo property, object obj)

Parameters

property PropertyInfo
obj object

Properties

AddCommand

public RelayCommand AddCommand { get; set; }

Property Value

RelayCommand

Methods

ChangeType(ObservableCollection<object>)

protected abstract object ChangeType(ObservableCollection<object> value)

Parameters

value ObservableCollection<object>

Returns

object

CheckType(ObservableCollection<object>, out string)

验证数据类型是否合法

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

Parameters

value ObservableCollection<object>
error string

Returns

bool

~ObservableCollectionPropertyItem()

protected ~ObservableCollectionPropertyItem()

GetElementType()

protected abstract Type GetElementType()

Returns

Type

GetValue()

protected override ObservableCollection<object> GetValue()

Returns

ObservableCollection<object>

RefreshValue()

public void RefreshValue()

SetValue(ObservableCollection<object>)

protected override void SetValue(ObservableCollection<object> value)

Parameters

value ObservableCollection<object>