AbsoluteLayout.AutoSize Field
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.
A value that indicates that the width or height of the child should be sized to that child's native size.
public: static double AutoSize;
public static double AutoSize;
staticval mutable AutoSize : double
Public Shared AutoSize As Double
Field Value
Remarks
Application developers can set the width or height of the Bounds property to AutoSize on a visual element when adding to the layout to cause that element to be measured during the layout pass and sized appropriately.
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.