GridItemsLayout Constructors
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.
Overloads
| Name | Description |
|---|---|
| GridItemsLayout(ItemsLayoutOrientation) |
Initializes a new instance of the GridItemsLayout class with the specified orientation. |
| GridItemsLayout(Int32, ItemsLayoutOrientation) |
Initializes a new instance of the GridItemsLayout class with the specified span and orientation. |
GridItemsLayout(ItemsLayoutOrientation)
- Source:
- GridItemsLayout.cs
- Source:
- GridItemsLayout.cs
- Source:
- GridItemsLayout.cs
- Source:
- GridItemsLayout.cs
Initializes a new instance of the GridItemsLayout class with the specified orientation.
public:
GridItemsLayout(Microsoft::Maui::Controls::ItemsLayoutOrientation orientation);
public GridItemsLayout(Microsoft.Maui.Controls.ItemsLayoutOrientation orientation);
new Microsoft.Maui.Controls.GridItemsLayout : Microsoft.Maui.Controls.ItemsLayoutOrientation -> Microsoft.Maui.Controls.GridItemsLayout
Public Sub New (orientation As ItemsLayoutOrientation)
Parameters
- orientation
- ItemsLayoutOrientation
The scroll orientation of the grid.
Applies to
GridItemsLayout(Int32, ItemsLayoutOrientation)
- Source:
- GridItemsLayout.cs
- Source:
- GridItemsLayout.cs
- Source:
- GridItemsLayout.cs
- Source:
- GridItemsLayout.cs
Initializes a new instance of the GridItemsLayout class with the specified span and orientation.
public:
GridItemsLayout(int span, Microsoft::Maui::Controls::ItemsLayoutOrientation orientation);
public GridItemsLayout(int span, Microsoft.Maui.Controls.ItemsLayoutOrientation orientation);
new Microsoft.Maui.Controls.GridItemsLayout : int * Microsoft.Maui.Controls.ItemsLayoutOrientation -> Microsoft.Maui.Controls.GridItemsLayout
Public Sub New (span As Integer, orientation As ItemsLayoutOrientation)
Parameters
- span
- Int32
The number of columns (for vertical orientation) or rows (for horizontal orientation).
- orientation
- ItemsLayoutOrientation
The scroll orientation of the grid.