Class LayoutManager
Manages measuring and arranging of controls.
[PrivateApi]
public class LayoutManager : ILayoutManager, IDisposable
- Inheritance
-
LayoutManager
- Implements
- Inherited Members
Constructors
LayoutManager(ILayoutRoot)
public LayoutManager(ILayoutRoot owner)
Parameters
owner
ILayoutRoot
Methods
Dispose()
public void Dispose()
ExecuteInitialLayoutPass()
Executes the initial layout pass on a layout root.
public virtual void ExecuteInitialLayoutPass()
Remarks
You should not usually need to call this method explictly, the layout root will call it to carry out the initial layout of the control.
ExecuteLayoutPass()
Executes a layout pass.
public virtual void ExecuteLayoutPass()
Remarks
You should not usually need to call this method explictly, the layout manager will schedule layout passes itself.
InvalidateArrange(Layoutable)
Notifies the layout manager that a control requires an arrange.
public virtual void InvalidateArrange(Layoutable control)
Parameters
control
LayoutableThe control.
InvalidateMeasure(Layoutable)
Notifies the layout manager that a control requires a measure.
public virtual void InvalidateMeasure(Layoutable control)
Parameters
control
LayoutableThe control.
Events
LayoutUpdated
Raised when the layout manager completes a layout pass.
public virtual event EventHandler? LayoutUpdated