Table of Contents

Class IEnumerablePropertyItem

Namespace
HeBianGu.Control.PropertyGrid
Assembly
HeBianGu.Control.PropertyGrid.dll
public abstract class IEnumerablePropertyItem : ObjectPropertyItem<ObservableCollection<object>>, INotifyPropertyChanged, IDisplayer, IPropertyItem, IDataErrorInfo
Inheritance
IEnumerablePropertyItem
Implements
Derived
Inherited Members
Extension Methods

Constructors

IEnumerablePropertyItem(PropertyInfo, object)

public IEnumerablePropertyItem(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

~IEnumerablePropertyItem()

protected ~IEnumerablePropertyItem()

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>