New to Telerik UI for WinForms? Start a free 30-day trial

Coordinates measure and arrange requests for a RadElement tree.

Definition

Namespace:Telerik.WinControls.Layouts

Assembly:Telerik.WinControls.dll

Syntax:

C#
public interface ILayoutManager

Properties

Gets the queue of elements waiting to be arranged.

C#
ILayoutQueue ArrangeQueue { get; }

Gets whether the manager is processing a layout pass or an element measure or arrange call.

C#
bool IsUpdating { get; }

Gets the handlers that are notified after a layout pass completes without remaining work.

C#
List<EventHandler> LayoutEvents { get; }

Gets the queue of elements waiting to be measured.

C#
ILayoutQueue MeasureQueue { get; }

Methods

Queues size-change information for notification after layout processing.

C#
void AddToSizeChangedChain(SizeChangedInfo info)
Parameters:infoSizeChangedInfo

The element's size-change information.

Completes a call previously recorded by IncrementLayoutCalls().

C#
void DecrementLayoutCalls()

Enters an arrange operation and tracks its nesting depth.

C#
void EnterArrange()
Exceptions: InvalidOperationException

The arrange nesting exceeds the manager's recursion limit.

Enters a measure operation and tracks its nesting depth.

C#
void EnterMeasure()
Exceptions: InvalidOperationException

The measure nesting exceeds the manager's recursion limit.

Exits an arrange operation entered with EnterArrange().

C#
void ExitArrange()

Exits a measure operation entered with EnterMeasure().

C#
void ExitMeasure()

Marks the start of an element measure or arrange call so IsUpdating reflects that work. Pair each call with DecrementLayoutCalls().

C#
void IncrementLayoutCalls()

Requests a deferred layout update through the associated handler.

C#
void InvokeUpdateLayoutAsync()

Removes an element's pending measure and arrange requests.

C#
void RemoveElementFromQueues(RadElement e)
Parameters:eRadElement

The element to remove from both queues.

Processes pending measure and arrange requests unless a layout pass or recursive measure/arrange operation is active.

C#
void UpdateLayout()