C# Class WaveEngine.Components.UI.GridControl

The grid panel.
Inheritance: Control
Show file Open project: WaveEngine/Components Class Usage Examples

Public Properties

Property Type Description
ColumnProperty DependencyProperty
ColumnSpanProperty DependencyProperty
RowProperty DependencyProperty
RowSpanProperty DependencyProperty

Private Properties

Property Type Description

Public Methods

Method Description
Arrange ( RectangleF finalSize ) : void

Arranges the specified final size.

GridControl ( ) : System.Collections.Generic

Initializes a new instance of the GridControl class.

GridControl ( int width, int height ) : System.Collections.Generic

Initializes a new instance of the GridControl class.

Measure ( Vector2 availableSize ) : Vector2

Measures the specified available size.

Protected Methods

Method Description
DefaultValues ( ) : void

Sets default values for this instance.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Method Details

Arrange() public method

Arranges the specified final size.
public Arrange ( RectangleF finalSize ) : void
finalSize RectangleF The final size.
return void

DefaultValues() protected method

Sets default values for this instance.
protected DefaultValues ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

GridControl() public method

Initializes a new instance of the GridControl class.
public GridControl ( ) : System.Collections.Generic
return System.Collections.Generic

GridControl() public method

Initializes a new instance of the GridControl class.
public GridControl ( int width, int height ) : System.Collections.Generic
width int The initial width.
height int The initial height.
return System.Collections.Generic

Measure() public method

Measures the specified available size.
public Measure ( Vector2 availableSize ) : Vector2
availableSize Vector2 Size of the available.
return Vector2

Property Details

ColumnProperty public static property

The column property
public static DependencyProperty ColumnProperty
return DependencyProperty

ColumnSpanProperty public static property

The column span property
public static DependencyProperty ColumnSpanProperty
return DependencyProperty

RowProperty public static property

The row property
public static DependencyProperty RowProperty
return DependencyProperty

RowSpanProperty public static property

The row span property
public static DependencyProperty RowSpanProperty
return DependencyProperty