Class LayoutControlContainerElement
An element which hosts and provides the layout of items that inherit from the Layout
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LayoutControlContainerElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, ILayoutControlItemsHost
Constructors
LayoutControlContainerElement()
Declaration
public LayoutControlContainerElement()
Fields
PreviewRectangleFillProperty
PreviewRectangleStrokeProperty
Declaration
public static readonly RadProperty PreviewRectangleStrokeProperty
Field Value
Properties
Items
The collection of Layout
Declaration
public RadItemOwnerCollection Items { get; }
Property Value
Implements
PreviewRectangleFill
Gets or sets the fill color of the drag preview rectangle.
Declaration
[VsbBrowsable(true)]
public Color PreviewRectangleFill { get; set; }
Property Value
System.
|
PreviewRectangleStroke
Gets or sets the border color of the drag preview rectangle.
Declaration
[VsbBrowsable(true)]
public Color PreviewRectangleStroke { get; set; }
Property Value
System.
|
ResizingBehavior
Gets the Layout
Declaration
public LayoutControlResizingBehavior ResizingBehavior { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
EnsureItemControlAdded(LayoutControlItem)
Declaration
protected virtual void EnsureItemControlAdded(LayoutControlItem controlItem)
Parameters
Layout
|
GetDropHintPreviewRectangle(DraggableLayoutControlItem, Point)
Gets the the drag hint preview rectangle if an item were to be dragged at a given point.
Declaration
public Rectangle GetDropHintPreviewRectangle(DraggableLayoutControlItem item, Point controlPoint)
Parameters
Draggable The dragged item. |
System. The point in control coordinates. |
Returns
System. The preview rectangle. |
GetDropHintPreviewRectangle(DraggableLayoutControlItem, Point, Type)
Gets the the drag hint preview rectangle if an item were to be dragged at a given point.
Declaration
public Rectangle GetDropHintPreviewRectangle(DraggableLayoutControlItem item, Point controlPoint, Type dragContext)
Parameters
Draggable The dragged item. |
System. The point in control coordinates. |
System. The type of the dragged item. |
Returns
System. The preview rectangle. |
HandleDrop(DraggableLayoutControlItem, LayoutControlItemBase, Point)
Handles dropping an element over another at the specified position.
Declaration
public void HandleDrop(DraggableLayoutControlItem dropTargetElement, LayoutControlItemBase draggedElement, Point mousePosition)
Parameters
Draggable The drop target element. |
Layout The dragged element. |
System. The specified position. |
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnLoaded()
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
PerformControlLayout()
Updates the layout of the inner controls.
Declaration
public void PerformControlLayout()
PerformControlLayout(Boolean)
Updates the layout of the inner controls.
Declaration
public void PerformControlLayout(bool recursive)
Parameters
System. If [true], goes into nested Layout |
RebuildLayoutTree()
Rebuilds the layout of the container.
Declaration
public void RebuildLayoutTree()
RebuildLayoutTree(Boolean)
Rebuilds the layout of the container.
Declaration
public void RebuildLayoutTree(bool performLayout)
Parameters
System. If [true], forces a layout update. |
SubtractControlScrollbarsSize(SizeF)
Declaration
protected virtual SizeF SubtractControlScrollbarsSize(SizeF availableSize)
Parameters
System.
|
Returns
System.
|