ClassRadLayoutControlCustomizeDialog
The dialog which is opened when RadLayoutControl is in edit mode. Provides interface to access the hidden items, bring new items to the control, or preview and edit the existing item structure.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadLayoutControlCustomizeDialog : RadForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormRadLayoutControlCustomizeDialog
Derived Classes:
Implements:
Inherited Members
Constructors
RadLayoutControlCustomizeDialog()
Declaration
public RadLayoutControlCustomizeDialog()
RadLayoutControlCustomizeDialog(RadLayoutControl)
Declaration
public RadLayoutControlCustomizeDialog(RadLayoutControl layoutControl)
Parameters
layoutControl
Properties
HiddenItemsGroup
Declaration
protected ListViewDataItemGroup HiddenItemsGroup { get; }
Property Value
SplitterItem
Declaration
protected ListViewDataItem SplitterItem { get; }
Property Value
Methods
CreateNewItem(BaseListViewVisualItem)
Called to create a new LayoutControlItemBase when dropping an item from the New Items group.
Declaration
protected virtual LayoutControlItemBase CreateNewItem(BaseListViewVisualItem draggedItem)
Parameters
draggedItem
The dragged item.
Returns
The newly created item
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
true if managed resources should be disposed; otherwise, false.
Overrides
GetDragContext(ISupportDrag)
Gets the drag context of a dragged item.
Declaration
protected virtual Type GetDragContext(ISupportDrag dragInstance)
Parameters
dragInstance
The dragged item.
Returns
The type of the associated item.
GetItemImage(LayoutControlItemBase)
Gets the image which should be displayed in an item in the Hidden Items group or the Structure tree view.
Declaration
protected virtual Image GetItemImage(LayoutControlItemBase item)
Parameters
item
The item to get the image for.
Returns
The image for that item.
GetItemText(LayoutControlItemBase)
Gets the text which should be displayed in an item in the Hidden Items group or the Structure tree view.
Declaration
protected virtual string GetItemText(LayoutControlItemBase item)
Parameters
item
The item to get the text for.
Returns
The text for the item.
HandleDropOnEmptyContainer(DraggableLayoutControlOverlayElement, BaseListViewVisualItem)
Handles dropping a list view item over an empty container.
Declaration
protected virtual void HandleDropOnEmptyContainer(DraggableLayoutControlOverlayElement overlayElement, BaseListViewVisualItem draggedItem)
Parameters
overlayElement
DraggableLayoutControlOverlayElement
The container.
draggedItem
The dragged item.
HandleItemDrop(BaseListViewVisualItem, DraggableLayoutControlItem)
Handles dropping a list view item over a DraggableLayoutControlItem.
Declaration
protected virtual void HandleItemDrop(BaseListViewVisualItem draggedItem, DraggableLayoutControlItem target)
Parameters
draggedItem
The dragged list view item.
target
The drop target item.
OnClosing(CancelEventArgs)
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
e
Overrides
OnDragServiceDragDrop(object, RadDropEventArgs)
Called to handle dropping a dragged item from the list view on the Items tab.
Declaration
protected virtual void OnDragServiceDragDrop(object sender, RadDropEventArgs e)
Parameters
sender
e
OnDragServiceDragOver(object, RadDragOverEventArgs)
Handles the DragOver event of the list view's drag drop service.
Declaration
protected virtual void OnDragServiceDragOver(object sender, RadDragOverEventArgs e)
Parameters
sender
e
OnDragServiceStopped(object, EventArgs)
Called when the drag drop service of the list view has started.
OnLoad(EventArgs)
Raises the Load event and applies any pending theming settings.
OnLoadLayoutButtonClick(object, EventArgs)
Handles the Click event of the Load Layout button.
OnRightToLeftChanged(EventArgs)
Declaration
protected override void OnRightToLeftChanged(EventArgs e)
Parameters
e
Overrides
OnSaveLayoutButtonClick(object, EventArgs)
Handles the Click event of the Save Layout button.
OnStructureTreeNodeEdited(object, TreeNodeEditedEventArgs)
Handles the NodeEdited event of the tree view on the Structure tab.
Declaration
protected virtual void OnStructureTreeNodeEdited(object sender, TreeNodeEditedEventArgs e)
Parameters
sender
e
OnStructureTreeViewMouseDown(object, MouseEventArgs)
Handles the MouseDown event of the tree view on the Structure tab.
Declaration
protected virtual void OnStructureTreeViewMouseDown(object sender, MouseEventArgs e)
Parameters
sender
e
OnStructureTreeViewMouseMove(object, MouseEventArgs)
Handles the MouseMove event of the tree view on the Structure tab.
Declaration
protected virtual void OnStructureTreeViewMouseMove(object sender, MouseEventArgs e)
Parameters
sender
e
OnStructureTreeViewNodeRemoving(object, RadTreeViewCancelEventArgs)
Handles the NodeRemoving event of the tree view on the structure tab.
Declaration
protected virtual void OnStructureTreeViewNodeRemoving(object sender, RadTreeViewCancelEventArgs e)
Parameters
sender
e
OnStructureTreeViewSelectedNodeChanged(object, RadTreeViewEventArgs)
Handles the SelectedNodeChanged event of the tree view on the Structure tab.
Declaration
protected virtual void OnStructureTreeViewSelectedNodeChanged(object sender, RadTreeViewEventArgs e)
Parameters
sender
e
OnVisibleChanged(EventArgs)
Raises the VisibleChanged event.
RightToLeftTranslate()
Called to rearrange the items when the RightToLeft property of the dialog has changed.
Declaration
protected virtual void RightToLeftTranslate()
UpdateHiddenItems()
Called to update the Hidden Items group in the Items tab
Declaration
public virtual void UpdateHiddenItems()
UpdateItemsStructureTreeView()
Called to update the tree view in the Structure tab
Declaration
public virtual void UpdateItemsStructureTreeView()