Class DraggableLayoutControlItem
Represents a draggable, selectable, and resize-able item which displays a snapshot of its associated LayoutControlItemBase. This item is used in LayoutControlDraggableOverlay when the RadLayoutControl is in customize mode.
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
LayoutControlItemBase
associatedItem
|
Properties
AssociatedItem
Gets the associated LayoutControlItemBase.
Declaration
public LayoutControlItemBase AssociatedItem { get; set; }
Property Value
LayoutControlItemBase
|
ChildItem
Gets the inner item of the current item. Such will exist if this item represents a LayoutControlTabbedGroup.
Declaration
public DraggableLayoutControlItem ChildItem { get; }
Property Value
DraggableLayoutControlItem
|
GroupContainer
Gets the inner container of the current item. Such will exist if this item represents a LayoutControlGroupItem
Declaration
public DraggableLayoutControlOverlayElement GroupContainer { get; }
Property Value
DraggableLayoutControlOverlayElement
|
IsSelected
Gets or sets a value indicating whether the item is currently selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
SelectionFillColor
Gets or sets the overlay color which is displayed when the item is selected.
Declaration
public Color SelectionFillColor { get; set; }
Property Value
System.Drawing.Color
|
SelectionStrokeColor
Gets or sets the border color which is displayed when the item is selected.
Declaration
public Color SelectionStrokeColor { get; set; }
Property Value
System.Drawing.Color
|
Methods
CanDragCore(Point)
Declaration
protected override bool CanDragCore(Point dragStartPoint)
Parameters
System.Drawing.Point
dragStartPoint
|
Returns
System.Boolean
|
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.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
Declaration
protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Drawing.Rectangle
clipRectange
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
ProcessDragOver(Point, ISupportDrag)
Declaration
protected override bool ProcessDragOver(Point mousePosition, ISupportDrag dragObject)
Parameters
System.Drawing.Point
mousePosition
|
ISupportDrag
dragObject
|
Returns
System.Boolean
|