Interface ILayoutEngine
Defines properties and methods for the default layout engine.
Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.dll
Syntax
public interface ILayoutEngine
Properties
AvailableSize
Gets a value indicating the available size.
Declaration
Size AvailableSize { get; }
Property Value
System.Drawing.Size
|
Methods
CheckSize(Size)
Retrieves check size structure.
Declaration
Size CheckSize(Size size)
Parameters
System.Drawing.Size
size
|
Returns
System.Drawing.Size
|
GetBorderOffset()
Retrieves Border offset.
Declaration
Size GetBorderOffset()
Returns
System.Drawing.Size
|
GetBorderSize()
Retrieves border size.
Declaration
Size GetBorderSize()
Returns
System.Drawing.Size
|
GetChildBorderSize()
Retrieves the border size of its child.
Declaration
Size GetChildBorderSize()
Returns
System.Drawing.Size
|
GetFaceRectangle()
Gets the face rectangle.
Declaration
Rectangle GetFaceRectangle()
Returns
System.Drawing.Rectangle
|
GetParentPadding()
Retrieves parent's padding.
Declaration
Padding GetParentPadding()
Returns
System.Windows.Forms.Padding
|
GetPreferredSize(Size)
Declaration
Size GetPreferredSize(Size proposedSize)
Parameters
System.Drawing.Size
proposedSize
|
Returns
System.Drawing.Size
|
GetPreferredSizeCore(Size)
Declaration
Size GetPreferredSizeCore(Size proposedSize)
Parameters
System.Drawing.Size
proposedSize
|
Returns
System.Drawing.Size
|
GetTransformationPoint()
Retrieves transformation point. The point is a Point structure.
Declaration
Point GetTransformationPoint()
Returns
System.Drawing.Point
|
InvalidateCachedBorder()
Invalidates the cached border.
Declaration
void InvalidateCachedBorder()
InvalidateLayout()
Invalidates layout - needs redrawing.
Declaration
void InvalidateLayout()
IsValidWrapElement()
Retrieves a value indicating whether the element is valid wrap element.
Declaration
bool IsValidWrapElement()
Returns
System.Boolean
|
LayoutPropertyChanged(RadPropertyChangedEventArgs)
Declaration
void LayoutPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
PerformLayout(RadElement, Boolean)
Declaration
void PerformLayout(RadElement affectedElement, bool performExplicit)
Parameters
RadElement
affectedElement
|
System.Boolean
performExplicit
|
PerformLayoutCore(RadElement)
Declaration
void PerformLayoutCore(RadElement affectedElement)
Parameters
RadElement
affectedElement
|
PerformParentLayout()
Declaration
void PerformParentLayout()
PerformRegisteredSuspendedLayouts()
Performs registered suspended layout.
Declaration
void PerformRegisteredSuspendedLayouts()
RegisterChildSuspendedLayout(RadElement, PerformLayoutType)
Declaration
void RegisterChildSuspendedLayout(RadElement element, PerformLayoutType performLayoutType)
Parameters
RadElement
element
|
PerformLayoutType
performLayoutType
|
RegisterLayoutRunning()
Declaration
void RegisterLayoutRunning()
SetCoercedSize(Size)
Sets coerced size taken as parameter.
Declaration
void SetCoercedSize(Size newCoercedSize)
Parameters
System.Drawing.Size
newCoercedSize
|
SetLayoutInvalidated(Boolean)
Declaration
void SetLayoutInvalidated(bool layoutInvalidated)
Parameters
System.Boolean
layoutInvalidated
|
TransformByAlignment(Size, Rectangle)
Retrieves transformation by alignment point using size and inner bounds.
Declaration
Point TransformByAlignment(Size size, Rectangle withinBounds)
Parameters
System.Drawing.Size
size
|
System.Drawing.Rectangle
withinBounds
|
Returns
System.Drawing.Point
|
UnregisterLayoutRunning()
Declaration
void UnregisterLayoutRunning()