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, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormRadLayoutControlCustomizeDialog...
Derived Classes:
Implements:
Inherited Members
Constructors
public RadLayoutControlCustomizeDialog()
public RadLayoutControlCustomizeDialog(RadLayoutControl layoutControl)
Properties
protected ListViewDataItemGroup HiddenItemsGroup { get; }
protected ListViewDataItem SplitterItem { get; }
Methods
Called to create a new LayoutControlItemBase when dropping an item from the New Items group.
protected virtual LayoutControlItemBase CreateNewItem(BaseListViewVisualItem draggedItem)
The dragged item.
Returns:The newly created item
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Gets the drag context of a dragged item.
protected virtual Type GetDragContext(ISupportDrag dragInstance)
The dragged item.
Returns:The type of the associated item.
Gets the image which should be displayed in an item in the Hidden Items group or the Structure tree view.
protected virtual Image GetItemImage(LayoutControlItemBase item)
The item to get the image for.
Returns:The image for that item.
Gets the text which should be displayed in an item in the Hidden Items group or the Structure tree view.
protected virtual string GetItemText(LayoutControlItemBase item)
The item to get the text for.
Returns:The text for the item.
Handles dropping a list view item over an empty container.
protected virtual void HandleDropOnEmptyContainer(DraggableLayoutControlOverlayElement overlayElement, BaseListViewVisualItem draggedItem)
The container.
draggedItemBaseListViewVisualItemThe dragged item.
Handles dropping a list view item over a DraggableLayoutControlItem.
protected virtual void HandleItemDrop(BaseListViewVisualItem draggedItem, DraggableLayoutControlItem target)
The dragged list view item.
targetDraggableLayoutControlItemThe drop target item.
Called to handle dropping a dragged item from the list view on the Items tab.
protected virtual void OnDragServiceDragDrop(object sender, RadDropEventArgs e)
Handles the DragOver event of the list view's drag drop service.
protected virtual void OnDragServiceDragOver(object sender, RadDragOverEventArgs e)
Handles the NodeEdited event of the tree view on the Structure tab.
protected virtual void OnStructureTreeNodeEdited(object sender, TreeNodeEditedEventArgs e)
Handles the MouseDown event of the tree view on the Structure tab.
protected virtual void OnStructureTreeViewMouseDown(object sender, MouseEventArgs e)
Handles the MouseMove event of the tree view on the Structure tab.
protected virtual void OnStructureTreeViewMouseMove(object sender, MouseEventArgs e)
Handles the NodeRemoving event of the tree view on the structure tab.
protected virtual void OnStructureTreeViewNodeRemoving(object sender, RadTreeViewCancelEventArgs e)
Handles the SelectedNodeChanged event of the tree view on the Structure tab.
protected virtual void OnStructureTreeViewSelectedNodeChanged(object sender, RadTreeViewEventArgs e)
Raises the VisibleChanged event.
Called to rearrange the items when the RightToLeft property of the dialog has changed.
protected virtual void RightToLeftTranslate()
Called to update the Hidden Items group in the Items tab
public virtual void UpdateHiddenItems()
Called to update the tree view in the Structure tab
public virtual void UpdateItemsStructureTreeView()