[]
Default editor used by C1PropertyGrid to edit lists of values.
[TemplatePart(Name = "ItemsEditor", Type = typeof(C1PropertyGrid))]
[TemplatePart(Name = "ItemsSelector", Type = typeof(ListBox))]
[TemplatePart(Name = "UpButton", Type = typeof(Button))]
[TemplatePart(Name = "DownButton", Type = typeof(Button))]
[TemplatePart(Name = "AddButton", Type = typeof(Button))]
[TemplatePart(Name = "RemoveButton", Type = typeof(Button))]
[TemplatePart(Name = "AcceptButton", Type = typeof(Button))]
[TemplatePart(Name = "CancelButton", Type = typeof(Button))]
[StyleTypedProperty(Property = "EditorStyle", StyleTargetType = typeof(C1PropertyGrid))]
[StyleTypedProperty(Property = "SelectorStyle", StyleTargetType = typeof(ListBox))]
public class CollectionEditorControl : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Name | Description |
---|---|
CollectionEditorControl() | Initializes a new instance of a CollectionEditorControl. |
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. |
ItemsEditorProperty | Identifies the ItemsEditor dependency property. |
ItemsSelectorProperty | Identifies the ItemsSelector dependency property. |
ItemsSourceProperty | Identifies the ItemsSource dependency property. |
SelectorStyleProperty | Identifies the SelectorStyle dependency property. |
Name | Description |
---|---|
AvailableEditors | Gets or sets the available editors for the CollectionEditorControl. |
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 PropertyGrid. |
ItemsEditor | Gets the C1PropertyGrid used to edit the properties of the currently selected item. |
ItemsSelector | Gets the ListBox used to show the list of items. |
ItemsSource | Gets or sets the list to be edited by the control. |
MethodAttributes | Gets or sets the method attributes for the CollectionEditorControl. |
PropertyAttributes | Gets or sets the property attributes for the CollectionEditorControl. |
SelectorStyle | Gets or sets the style applied to the advanced editor's ListBox. |
Name | Description |
---|---|
OnApplyTemplate() | Builds the visual tree for the CollectionEditorControl control when a new template is applied. |
ReloadItems() | Reloads the collection items in the control. |
Name | Description |
---|---|
ValueChanged | Fired when the bound value of the editor has changed. |
ValueChanging | Fired before the bound value is changed. |