GridLength.Auto Property


Gets an instance of GridLength that holds a value whose size is determined by the size properties of the content object.

 static property System::Windows::GridLength Auto { System::Windows::GridLength get(); };
public static System.Windows.GridLength Auto { get; }
static member Auto : System.Windows.GridLength
Public Shared ReadOnly Property Auto As GridLength

Property Value


A instance of GridLength whose GridUnitType property is set to Auto.

Applies to

See also