Midnight Blue Game and Engine
Public Member Functions | Properties | List of all members
MB2D.UI.UIContent Class Reference

Holds content in a grid structure for a UIContext or Layout More...

Collaboration diagram for MB2D.UI.UIContent:
Collaboration graph

Public Member Functions

 UIContent (int rows, int cols, Rectangle parent)
 Initializes a new instance of the T:MB2D.UI.UIContent class. More...
 

Properties

UIElement [,] Elements [get]
 Gets the elements of the content. More...
 
Grid Grid [get]
 Gets a grid geometry representation of the content More...
 
Rectangle Rect [get, set]
 Gets or sets the rectangle encompassing the content. More...
 

Detailed Description

Holds content in a grid structure for a UIContext or Layout

Constructor & Destructor Documentation

§ UIContent()

MB2D.UI.UIContent.UIContent ( int  rows,
int  cols,
Rectangle  parent 
)
inline

Initializes a new instance of the T:MB2D.UI.UIContent class.

Parameters
rowsRows.
colsCols.
parentParent.

Property Documentation

§ Elements

UIElement [,] MB2D.UI.UIContent.Elements
get

Gets the elements of the content.

The UI elements.

§ Grid

Grid MB2D.UI.UIContent.Grid
get

Gets a grid geometry representation of the content

The grid.

§ Rect

Rectangle MB2D.UI.UIContent.Rect
getset

Gets or sets the rectangle encompassing the content.

The rectangle.


The documentation for this class was generated from the following file: