UserInterfaceGrid Properties |
The UserInterfaceGrid type exposes the following members.
| Name | Description | |
|---|---|---|
| BackgroundClaimsMouse |
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.
| |
| BackgroundColor |
Color the control is filled with: the face of a button, the track of a
slider, the box of a check box or radio button, the field of a text box,
the whole rectangle of a label, icon or grid. Color.Empty, the default,
means the control chooses the color for the theme that is in use and
follows the theme when it changes. Labels and icons draw no background when
this is Color.Empty. A grid fills with the theme's panel color when it is a
top level control, and draws no background when it is inside another
control. UserInterfaceGrid.BackgroundOpacity makes the theme color see
through, or turns the background off at 0.
(Inherited from UserInterfaceControl.) | |
| BackgroundOpacity |
How opaque the background is, from 0 (not drawn at all) to 1 (solid, the
default). Leave BackgroundColor as Color.Empty and the grid uses the
theme's panel color at this opacity, which gives a see through panel over
the model that still follows the theme. A BackgroundColor that was set is
drawn at this opacity on top of its own alpha. The border is not affected.
| |
| BorderColor | ||
| BorderThickness | ||
| BoundToActiveView | (Inherited from UserInterfaceObjectBase.) | |
| ChildCount |
Number of cells that have been filled, including the empty ones added with
AddEmptyCell. This is not the same as ColumnCount * RowCount.
| |
| ColumnCount |
Number of columns in the grid. The default is 1. Changing the column count
reflows the children that have already been added.
| |
| ColumnSpacing |
Space between columns in logical pixels. The default is 6.
| |
| CornerRadius | ||
| HasKeyboardFocus |
Does this object have keyboard focus? An object with keyboard focus gets
first refusal on what is typed in a viewport; what it does not use carries
on to the command line as usual.
(Inherited from UserInterfaceObjectBase.) | |
| HorizontalAlignment | (Inherited from UserInterfaceControl.) | |
| Location | (Inherited from UserInterfaceControl.) | |
| RowCount |
Number of rows the current children occupy, computed from the child count,
the column count and any column spans.
| |
| RowHeight |
Height of every row in logical pixels. The default is 0, which means each
row is as tall as the tallest control in it.
| |
| RowSeparatorColor | ||
| RowSeparators |
Draw a horizontal line between every pair of rows. Off by default.
| |
| RowSpacing |
Space between rows in logical pixels. The default is 2.
| |
| Size | (Inherited from UserInterfaceControl.) | |
| Text | (Inherited from UserInterfaceControl.) | |
| TextColor |
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.) | |
| TextHeight |
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.) | |
| TextHorizontalAlignment |
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.) | |
| TextVerticalAlignment |
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.) | |
| Tooltip |
Text shown in a tooltip when the mouse rests over this object. Null or an empty
string means no tooltip, which is what an object starts with. One tooltip is on
screen at a time; whichever object the mouse is over owns it.
(Inherited from UserInterfaceObjectBase.) | |
| TrackingPoint |
3d location that control "sticks" to if not null
(Inherited from UserInterfaceControl.) | |
| VerticalAlignment | (Inherited from UserInterfaceControl.) | |
| Visible |
Is the user interface object visible? Objects that are not visible will
not be drawn and will not receive mouse events
(Inherited from UserInterfaceObjectBase.) |