Represents a grid-like layout.
The following tables list the members exposed by the GridLayout type.
Public Constructors| Name | Description | |
|---|---|---|
![]() |
Initializes a new instance of the GridLayout class. |
Public Properties| Name | Description | |
|---|---|---|
![]() |
Gets or sets the currently active widget container. |
|
![]() |
Gets or sets the number of columns. |
|
![]() |
Gets or sets the padding and gap between grid cells. |
|
![]() |
Gets or sets the number of rows. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Accepts a dragged widget and returns its target cell coordinates. |
|
![]() |
Removes all widget container elements from the grid. |
|
![]() |
Creates a widget container at the specified grid position. |
|
![]() |
Creates an interaction controller for the current pointer state. |
|
![]() |
Creates the grid DOM container for the layout. |
|
![]() |
Renders widget containers into the grid. |
|
![]() |
Ensures every widget has a corresponding grid container. |
|
![]() |
Gets the container at the specified grid coordinates. |
|
![]() |
Gets the cursor hint for the specified point. |
|
![]() |
Gets the nearest resize handle index for a point relative to a rectangle. |
|
![]() |
Returns the widget's container. (Inherited from LayoutBase.) |
|
![]() |
Returns the widget's container DOM element. (Inherited from LayoutBase.) |
|
![]() |
Returns the widget's DOM element. (Inherited from LayoutBase.) |
|
![]() |
Handles a click event on a widget. |
|
![]() |
Returns the container that contains the specified point. |
|
![]() |
Finds a resize border adjacent to the specified point. |
|
![]() |
Finds the container located beneath the specified point. |
|
![]() |
Finds the widget located beneath the specified point. |
|
![]() |
Initializes the layout dimensions and rebuilds the grid structure. |
|
![]() |
Removes a widget from the grid layout. |
|
![]() |
Sets the current interaction mode for the layout. |
|
![]() |
Serializes the grid layout properties into a JSON-compatible object. |
See Also