Provides a designer-time modal editor for the gallery items contained in a group.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GroupedGalleryItemsEditor : UITypeEditor
Inheritance: objectUITypeEditorGroupedGalleryItemsEditor
Inherited Members
Constructors
public GroupedGalleryItemsEditor()
Methods
Opens the item-selection dialog and edits the supplied collection in place; canceling does not roll back edits already made.
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
The designer context for the edited group.
providerIServiceProviderThe designer services used to display and commit the editor.
valueobjectThe group's current collection of gallery items.
Returns:null after acceptance because the editor reads its value after cleanup; otherwise, the original value. Canceling does not revert edits already applied to the collection.
Overrides:
Indicates that editing opens a modal dialog.
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
The designer context for the edited value.
Returns:Overrides: