Click or drag to resize

UserInterfaceGrid Properties

The UserInterfaceGrid type exposes the following members.

Properties
  NameDescription
Public propertyBackgroundClaimsMouse
Whether a click where the grid has no child control belongs to the grid or to whatever is behind it. The default is false, so clicks on the padding, on the gaps between cells and on empty cells go through to the viewport, which is what a heads up display over a model wants.
Public propertyBackgroundColor
Color the grid fills its rectangle with. Color.Empty, the default, means draw no background at all.
Public propertyBorderColor
Public propertyBorderThickness
Public propertyBoundToActiveView (Inherited from UserInterfaceObjectBase.)
Public propertyChildCount
Number of cells that have been filled, including the empty ones added with AddEmptyCell. This is not the same as ColumnCount * RowCount.
Public propertyColumnCount
Number of columns in the grid. The default is 1. Changing the column count reflows the children that have already been added.
Public propertyColumnSpacing
Space between columns in logical pixels. The default is 6.
Public propertyCornerRadius
Public propertyHorizontalAlignment (Inherited from UserInterfaceControl.)
Public propertyLocation (Inherited from UserInterfaceControl.)
Public propertyRowCount
Number of rows the current children occupy, computed from the child count, the column count and any column spans.
Public propertyRowHeight
Height of every row in logical pixels. The default is 0, which means each row is as tall as the tallest control in it.
Public propertyRowSeparatorColor
Public propertyRowSeparators
Draw a horizontal line between every pair of rows. Off by default.
Public propertyRowSpacing
Space between rows in logical pixels. The default is 2.
Public propertySize (Inherited from UserInterfaceControl.)
Public propertyText (Inherited from UserInterfaceControl.)
Public propertyTextColor
Color used to draw the text. Color.Empty, the default, means use the standard text color for the theme that is in use.
(Inherited from UserInterfaceControl.)
Public propertyTextHeight
Height of the text in logical pixels. A value of 0, the default, means use the standard control font height. Controls that draw no text ignore this setting.
(Inherited from UserInterfaceControl.)
Public propertyTextHorizontalAlignment
Where the text sits inside the control's rectangle. This is not the same as HorizontalAlignment, which is where the control sits inside its parent.
(Inherited from UserInterfaceControl.)
Public propertyTextVerticalAlignment
Where the text sits inside the control's rectangle. This is not the same as VerticalAlignment, which is where the control sits inside its parent.
(Inherited from UserInterfaceControl.)
Public propertyTrackingPoint
3d location that control "sticks" to if not null
(Inherited from UserInterfaceControl.)
Public propertyVerticalAlignment (Inherited from UserInterfaceControl.)
Public propertyVisible
Is the user interface object visible? Objects that are not visible will not be drawn and will not receive mouse events
(Inherited from UserInterfaceObjectBase.)
Top
See Also