ILayoutManager
Coordinates measure and arrange requests for a RadElement tree.
Definition
Namespace:Telerik.WinControls.Layouts
Assembly:Telerik.WinControls.dll
Syntax:
public interface ILayoutManager
Properties
Gets the queue of elements waiting to be arranged.
ILayoutQueue ArrangeQueue { get; }
Gets whether the manager is processing a layout pass or an element measure or arrange call.
bool IsUpdating { get; }
LayoutEvents
List<EventHandler>
Gets the handlers that are notified after a layout pass completes without remaining work.
List<EventHandler> LayoutEvents { get; }
Gets the queue of elements waiting to be measured.
ILayoutQueue MeasureQueue { get; }
Methods
Queues size-change information for notification after layout processing.
void AddToSizeChangedChain(SizeChangedInfo info)
The element's size-change information.
Completes a call previously recorded by IncrementLayoutCalls().
void DecrementLayoutCalls()
Enters an arrange operation and tracks its nesting depth.
void EnterArrange()
The arrange nesting exceeds the manager's recursion limit.
Enters a measure operation and tracks its nesting depth.
void EnterMeasure()
The measure nesting exceeds the manager's recursion limit.
Exits an arrange operation entered with EnterArrange().
void ExitArrange()
Exits a measure operation entered with EnterMeasure().
void ExitMeasure()
Marks the start of an element measure or arrange call so IsUpdating reflects that work. Pair each call with DecrementLayoutCalls().
void IncrementLayoutCalls()
Requests a deferred layout update through the associated handler.
void InvokeUpdateLayoutAsync()
Removes an element's pending measure and arrange requests.
void RemoveElementFromQueues(RadElement e)
The element to remove from both queues.
Processes pending measure and arrange requests unless a layout pass or recursive measure/arrange operation is active.
void UpdateLayout()