Interface
ILayoutEngine

Defines properties and methods for the default layout engine.

Definition

Namespace:Telerik.WinControls.Layouts

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public interface ILayoutEngine

Properties

AvailableSize

Gets a value indicating the available size.

Declaration

cs-api-definition
Size AvailableSize { get; }

Property Value

Size

Methods

CheckSize(Size)

Retrieves check size structure.

Declaration

cs-api-definition
Size CheckSize(Size size)

Parameters

size

Size

Returns

Size

GetBorderOffset()

Retrieves Border offset.

Declaration

cs-api-definition
Size GetBorderOffset()

Returns

Size

GetBorderSize()

Retrieves border size.

Declaration

cs-api-definition
Size GetBorderSize()

Returns

Size

GetChildBorderSize()

Retrieves the border size of its child.

Declaration

cs-api-definition
Size GetChildBorderSize()

Returns

Size

GetFaceRectangle()

Gets the face rectangle.

Declaration

cs-api-definition
Rectangle GetFaceRectangle()

Returns

Rectangle

GetParentPadding()

Retrieves parent's padding.

Declaration

cs-api-definition
Padding GetParentPadding()

Returns

Padding

GetPreferredSize(Size)

Declaration

cs-api-definition
Size GetPreferredSize(Size proposedSize)

Parameters

proposedSize

Size

Returns

Size

GetPreferredSizeCore(Size)

Declaration

cs-api-definition
Size GetPreferredSizeCore(Size proposedSize)

Parameters

proposedSize

Size

Returns

Size

GetTransformationPoint()

Retrieves transformation point. The point is a Point structure.

Declaration

cs-api-definition
Point GetTransformationPoint()

Returns

Point

InvalidateCachedBorder()

Invalidates the cached border.

Declaration

cs-api-definition
void InvalidateCachedBorder()

InvalidateLayout()

Invalidates layout - needs redrawing.

Declaration

cs-api-definition
void InvalidateLayout()

IsValidWrapElement()

Retrieves a value indicating whether the element is valid wrap element.

Declaration

cs-api-definition
bool IsValidWrapElement()

Returns

bool

LayoutPropertyChanged(RadPropertyChangedEventArgs)

Declaration

cs-api-definition
void LayoutPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

PerformLayout(RadElement, bool)

Declaration

cs-api-definition
void PerformLayout(RadElement affectedElement, bool performExplicit)

Parameters

affectedElement

RadElement

performExplicit

bool

PerformLayoutCore(RadElement)

Declaration

cs-api-definition
void PerformLayoutCore(RadElement affectedElement)

Parameters

affectedElement

RadElement

PerformParentLayout()

Declaration

cs-api-definition
void PerformParentLayout()

PerformRegisteredSuspendedLayouts()

Performs registered suspended layout.

Declaration

cs-api-definition
void PerformRegisteredSuspendedLayouts()

RegisterChildSuspendedLayout(RadElement, PerformLayoutType)

Declaration

cs-api-definition
void RegisterChildSuspendedLayout(RadElement element, PerformLayoutType performLayoutType)

Parameters

element

RadElement

performLayoutType

PerformLayoutType

RegisterLayoutRunning()

Declaration

cs-api-definition
void RegisterLayoutRunning()

SetCoercedSize(Size)

Sets coerced size taken as parameter.

Declaration

cs-api-definition
void SetCoercedSize(Size newCoercedSize)

Parameters

newCoercedSize

Size

SetLayoutInvalidated(bool)

Declaration

cs-api-definition
void SetLayoutInvalidated(bool layoutInvalidated)

Parameters

layoutInvalidated

bool

TransformByAlignment(Size, Rectangle)

Retrieves transformation by alignment point using size and inner bounds.

Declaration

cs-api-definition
Point TransformByAlignment(Size size, Rectangle withinBounds)

Parameters

size

Size

withinBounds

Rectangle

Returns

Point

UnregisterLayoutRunning()

Declaration

cs-api-definition
void UnregisterLayoutRunning()