Class ObservableCollectionPropertyItem
- 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
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
~ObservableCollectionPropertyItem()
protected ~ObservableCollectionPropertyItem()
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>