Class LayoutControlDraggableOverlay
Represents a control which overlays the Rad
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LayoutControlDraggableOverlay : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
LayoutControlDraggableOverlay(RadLayoutControl)
Declaration
public LayoutControlDraggableOverlay(RadLayoutControl owner)
Parameters
Rad
|
Properties
DragDropService
The Layout
Declaration
public LayoutControlDragDropService DragDropService { get; }
Property Value
OverlayElement
Gets the main element of the control.
Declaration
public DraggableLayoutControlOverlayElement OverlayElement { get; }
Property Value
Owner
SelectedItems
Gets a collection of the selected items.
Declaration
public ReadOnlyCollection<DraggableLayoutControlItem> SelectedItems { get; }
Property Value
System.
|
Methods
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
Rad
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
Overrides
FindDraggableItem(LayoutControlItemBase)
Finds the associated Draggable
Declaration
public DraggableLayoutControlItem FindDraggableItem(LayoutControlItemBase item)
Parameters
Layout The specified item. |
Returns
Draggable The associated draggable item. |
GetItems()
Gets the items from all levels in the control.
Declaration
public IEnumerable<DraggableLayoutControlItem> GetItems()
Returns
System. An enumeration to the items. |
GetItems(DraggableLayoutControlOverlayElement)
Gets all items which are descendants of the specified parent element.
Declaration
public IEnumerable<DraggableLayoutControlItem> GetItems(DraggableLayoutControlOverlayElement overlayElement)
Parameters
Draggable The parent element. |
Returns
System. An enumeration to the items. |
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.
|
Overrides
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
System.
|
Overrides
ProcessCmdKey(ref Message, Keys)
Declaration
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
System.
|
System.
|
Returns
System.
|
SelectItem(DraggableLayoutControlItem, Boolean)
Selects the specified item.
Declaration
public void SelectItem(DraggableLayoutControlItem item, bool extend)
Parameters
Draggable The item to select. |
System. If [true], item will be added to the current selection, otherwise only the specified item will be selected |
SelectLayoutItem(LayoutControlItemBase)
Selects the specified item.
Declaration
public void SelectLayoutItem(LayoutControlItemBase item)
Parameters
Layout The item to select. |
SetPreviewRectangle(Rectangle)
Sets the bounds of the drag preview rectangle.
Declaration
public void SetPreviewRectangle(Rectangle rectangle)
Parameters
System. The bounds. |
StartDrag(LayoutControlItemBase)
Starts the Layout
Declaration
public void StartDrag(LayoutControlItemBase item)
Parameters
Layout The item to drag. |
UpdatePreview()
Updates the preview of the underlying items.
Declaration
public void UpdatePreview()
UpdatePreview(Boolean)
Updates the preview of the underlying items.
Declaration
public void UpdatePreview(bool refreshElements)
Parameters
System. If [true], child elements will be reinitialized, if [false], only the snapshot of existing elements will be updated. |