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
PropertyInfoobj
object
Properties
AddCommand
public RelayCommand AddCommand { get; set; }
Property Value
Methods
ChangeType(ObservableCollection<object>)
protected abstract object ChangeType(ObservableCollection<object> value)
Parameters
value
ObservableCollection<object>
Returns
CheckType(ObservableCollection<object>, out string)
验证数据类型是否合法
protected override bool CheckType(ObservableCollection<object> value, out string error)
Parameters
value
ObservableCollection<object>error
string
Returns
~IEnumerablePropertyItem()
protected ~IEnumerablePropertyItem()
GetElementType()
protected abstract Type GetElementType()
Returns
GetValue()
protected override ObservableCollection<object> GetValue()
Returns
RefreshValue()
public void RefreshValue()
SetValue(ObservableCollection<object>)
protected override void SetValue(ObservableCollection<object> value)
Parameters
value
ObservableCollection<object>