Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.47 KB

variablesizedwrapgrid_itemwidth.md

File metadata and controls

47 lines (34 loc) · 1.47 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.VariableSizedWrapGrid.ItemWidth
winrt property

Windows.UI.Xaml.Controls.VariableSizedWrapGrid.ItemWidth

-description

Gets or sets the width of the layout area for each item that is contained in a VariableSizedWrapGrid.

-xaml-syntax

<VariableSizedWrapGrid ItemWidth="double" />
-or-
<VariableSizedWrapGrid ItemWidth="Auto" />

-property-value

The width of the layout area for each item that is contained in a VariableSizedWrapGrid. The default is NaN. See Remarks below.

-remarks

If ItemWidth is NaN, then the VariableSizedWrapGrid uses the width of the first cell.

Note

In C#, you can obtain NaN from Double.NaN.

In C++, you can obtain NaN by using the NAN macro or std::numeric_limits<double>::quiet_NaN().

Do not use the == operator to test for NaN.

In C#, use Double.IsNaN() to test for NaN.

In C++, use isnan() to test for NaN.

-examples

-see-also

ItemHeight