Layout.ForceLayout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.