Class UniformGrid
Implements Uniform Grid layout control
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class UniformGrid : Panel
Constructors
UniformGrid()
Initializes a new instance of the UniformGrid class.
Declaration
public UniformGrid()
Fields
ColumnsProperty
The columns property
Declaration
public static readonly DependencyProperty ColumnsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
FirstColumnProperty
The first column property
Declaration
public static readonly DependencyProperty FirstColumnProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
RowsProperty
The rows property
Declaration
public static readonly DependencyProperty RowsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
Columns
Gets or sets the number of columns for the grid
Declaration
public int Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The columns. |
FirstColumn
Gets or sets the first column.
Declaration
public int FirstColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The first column. |
Rows
Gets or sets the number of rows for the grid
Declaration
public int Rows { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The rows. |
Methods
ArrangeOverride(Size)
Arrange layout pass
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | finalSize | The final size. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
MeasureOverride(Size)
Measure layout pass
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | availableSize | available size for element |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |