IVisualLayoutPart
Interface
Defines a content part that a visual-element layout can measure and arrange independently.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public interface IVisualLayoutPart
Properties
Gets the rectangle assigned to the part during arrangement.
C#
RectangleF Bounds { get; }
Gets the size reported by the part's most recent measurement.
C#
SizeF DesiredSize { get; }
Gets or sets the outer spacing used when the part is arranged beside other content.
C#
Padding Margin { get; set; }
Gets or sets padding associated with the part. The built-in LayoutManagerPart does not apply this value; it uses Margin to space its image and text parts.
C#
Padding Padding { get; set; }
Methods
Assigns final bounds to the part.
C#
SizeF Arrange(RectangleF bounds)
The rectangle allocated to the part by its layout.
Returns:The size occupied by the part after arrangement.