Class DraggableLayoutControlItem
Represents a draggable, selectable, and resize-able item which displays a snapshot
of its associated Layout
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class DraggableLayoutControlItem : LayoutControlItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
DraggableLayoutControlItem()
Declaration
public DraggableLayoutControlItem()
DraggableLayoutControlItem(LayoutControlItemBase)
Declaration
public DraggableLayoutControlItem(LayoutControlItemBase associatedItem)
Parameters
Layout
|
Properties
AssociatedItem
Gets the associated Layout
Declaration
public LayoutControlItemBase AssociatedItem { get; set; }
Property Value
ChildItem
Gets the inner item of the current item. Such will exist if this item represents a
Layout
Declaration
public DraggableLayoutControlItem ChildItem { get; }
Property Value
GroupContainer
Gets the inner container of the current item. Such will exist if this item represents a
Layout
Declaration
public DraggableLayoutControlOverlayElement GroupContainer { get; }
Property Value
IsSelected
Gets or sets a value indicating whether the item is currently selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.
|
SelectionFillColor
Gets or sets the overlay color which is displayed when the item is selected.
Declaration
public Color SelectionFillColor { get; set; }
Property Value
System.
|
SelectionStrokeColor
Gets or sets the border color which is displayed when the item is selected.
Declaration
public Color SelectionStrokeColor { get; set; }
Property Value
System.
|
Methods
CanDragCore(Point)
Declaration
protected override bool CanDragCore(Point dragStartPoint)
Parameters
System.
|
Returns
System.
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
InvalidateSnapshot()
Invalidates the preview of the associated item.
Declaration
public void InvalidateSnapshot()
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.
|
System.
|
Overrides
PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
Declaration
protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.
|
System.
|
System.
|
Overrides
ProcessDragOver(Point, ISupportDrag)
Declaration
protected override bool ProcessDragOver(Point mousePosition, ISupportDrag dragObject)
Parameters
System.
|
ISupport
|
Returns
System.
|