Share via


Layout.ForceLayout Method

Definition

Caution

Call InvalidateMeasure instead depending on your scenario.

Forces a layout cycle on the element and all of its descendants.

public:
 void ForceLayout();
public void ForceLayout ();
[System.Obsolete("Call InvalidateMeasure instead depending on your scenario.")]
public void ForceLayout ();
member this.ForceLayout : unit -> unit
[<System.Obsolete("Call InvalidateMeasure instead depending on your scenario.")>]
member this.ForceLayout : unit -> unit
Public Sub ForceLayout ()
Attributes

Remarks

Calling this method frequently can have negative impacts on performance.

Applies to