Represents a control which overlays the RadLayoutControl when the last is put in customize mode.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class LayoutControlDraggableOverlay : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlLayoutControlDraggableOverlay...
Implements:
Inherited Members
Constructors
Properties
The LayoutControlDragDropService responsible for the drag operations in the control.
public LayoutControlDragDropService DragDropService { get; }
Gets the main element of the control.
public DraggableLayoutControlOverlayElement OverlayElement { get; }
Gets the owning RadLayoutControl
public RadLayoutControl Owner { get; }
Gets a collection of the selected items.
public ReadOnlyCollection<DraggableLayoutControlItem> SelectedItems { get; }
Methods
protected override void CreateChildItems(RadElement parent)
Overrides:
Finds the associated DraggableLayoutControlItem of the specified LayoutControlItemBase.
public DraggableLayoutControlItem FindDraggableItem(LayoutControlItemBase item)
The specified item.
Returns:The associated draggable item.
Gets the items from all levels in the control.
public IEnumerable<DraggableLayoutControlItem> GetItems()
IEnumerable<DraggableLayoutControlItem>
An enumeration to the items.
Gets all items which are descendants of the specified parent element.
public IEnumerable<DraggableLayoutControlItem> GetItems(DraggableLayoutControlOverlayElement overlayElement)
The parent element.
Returns:IEnumerable<DraggableLayoutControlItem>
An enumeration to the items.
Selects the specified item.
public void SelectItem(DraggableLayoutControlItem item, bool extend)
The item to select.
extendboolIf [true], item will be added to the current selection, otherwise only the specified item will be selected
Selects the specified item.
public void SelectLayoutItem(LayoutControlItemBase item)
The item to select.
Sets the bounds of the drag preview rectangle.
Starts the LayoutControlDragDropService with the specified item as a drag context.
public void StartDrag(LayoutControlItemBase item)
The item to drag.
Updates the preview of the underlying items.
public void UpdatePreview()
Updates the preview of the underlying items.
public void UpdatePreview(bool refreshElements)
If [true], child elements will be reinitialized, if [false], only the snapshot of existing elements will be updated.