[]
Default editor used by C1PropertyGrid to edit lists of values.
public class CollectionEditor : AdvancedEditor, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, ITypeEditorControl
Name | Description |
---|---|
CollectionEditor(C1PropertyGrid) | Initializes a new instance of the CollectionEditor class. |
Name | Description |
---|---|
CanUserAddItemsProperty | Identifies the CanUserAddItems dependency property. |
CanUserRemoveItemsProperty | Identifies the CanUserRemoveItems dependency property. |
CanUserSortItemsProperty | Identifies the CanUserSortItems dependency property. |
EditorStyleProperty | Identifies the EditorStyle dependency property. |
SelectorStyleProperty | Identifies the SelectorStyle dependency property. |
Name | Description |
---|---|
CanUserAddItems | Gets or sets a value indicating whether the user can add items to the edited collection. |
CanUserRemoveItems | Gets or sets a value indicating whether the user can remove items from the edited collection. |
CanUserSortItems | Gets or sets a value indicating whether the user can sort items in the edited collection. |
EditorStyle | Gets or sets the style applied to the collection editor's property grid. |
SelectorStyle | Gets or sets the style applied to the collection selector ListBox. |
Name | Description |
---|---|
Attach(PropertyAttribute) | Attaches (initializes) the editor with the current property. |
Attach(PropertyGroup) | Attaches (initializes) the editor with the current group. |
Create() | Creates ands initializes a new instance of the editor |
Detach(PropertyAttribute) | Detaches (releases) the editor that was attached with the property passed as parameter. |
OnOpenButtonClick(object, RoutedEventArgs) | Called when open button is clicked. |
OnValueChanged() | Called when value bound to this editor is changed. |
OnValueChanging(CommitChangesEventsArgs) | Called before the bound value changes. |
OnWindowCreated(C1Window) | Invoked after the C1.WPF.C1Window instance was created. |
SetDefaultValue() | set a value when all properties in the group has not a same property value |
Supports(PropertyAttribute) | Returns true if the editor supports (is able to show/edit) the property values described by the PropertyAttribute. |
Name | Description |
---|---|
ValueChanged | Fired when the value of the current property has changed. |
ValueChanging | Fired before the value of the current property is changed. |