UserInterfaceRadioButton Class |
A group is the radio buttons that share a Group number, sit in the same container and belong to the same document. The default group number is 0, so a set of radio buttons added to one grid is already a group. Give each set its own number when a container holds more than one set.
Namespace: Rhino.UI
The UserInterfaceRadioButton type exposes the following members.
| Name | Description | |
|---|---|---|
| UserInterfaceRadioButton | Initializes a new instance of the UserInterfaceRadioButton class | |
| UserInterfaceRadioButton(String) | Initializes a new instance of the UserInterfaceRadioButton class | |
| UserInterfaceRadioButton(String, Int32) | Initializes a new instance of the UserInterfaceRadioButton class |
| Name | Description | |
|---|---|---|
| BoundToActiveView | (Inherited from UserInterfaceObjectBase.) | |
| Checked |
Is this the button that is on in its group? Turning a button on turns off every
other button in its group. Setting this does not raise CheckedChanged; that is
only for a state the user changed.
| |
| CheckedButtonInGroup |
The button in this button's group that is on, which can be this button, or null
when nothing in the group has been turned on yet. The buttons have to have been
added to a document for this to find anything, since it is the native side that
keeps track of a group.
| |
| Group |
Which set of radio buttons this one belongs to. The default is 0. Two sets of
radio buttons in the same container need different group numbers or they will
turn each other off.
| |
| 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.) | |
| 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.) |
| Name | Description | |
|---|---|---|
| ComputedRectangle | (Inherited from UserInterfaceControl.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsMouseOver |
Called to test if the mouse is actively over this object
(Inherited from UserInterfaceObjectBase.) | |
| IsRegistered |
Is this user interface object active
(Inherited from UserInterfaceObjectBase.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnCheckedChanged |
Called after a click or a key has changed the state of this button. Both ends of
the change are told, the button that came on and the button that went off, so a
set can be watched from any one of its buttons. The default implementation raises
the CheckedChanged event.
| |
| OnDraw |
All user interface objects are drawn and can customize their look
with the OnDraw function
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseClick |
Called during a mouse click event on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseDoubleClick |
Called during a mouse double click event on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseDown |
Called when the mouse goes down on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseEnter |
Called when the mouse goes over this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseLeave |
Called when the mouse leaves this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseMove |
Called when the mouse is moved
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseUp |
Called when the mouse is released on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnRunCommand |
Called after the above RunCommand function is called. This will be
executing while inside of a Rhino command.
(Inherited from UserInterfaceObjectBase.) | |
| RegisterForAllDocuments |
Make this object visible for all documents. Typically you will only have user
interface objects work with single documents. For that case, call
doc.ViewUserInterface.Add
(Inherited from UserInterfaceObjectBase.) | |
| RunCommand |
Call RunCommand to have the virtual OnRunCommand function executed in the
scope of a Rhino command. If you are modifying the document from one of
the mouse functions on this object, this is the best approach to do so
since changes made inside of a command are recorded for undo.
(Inherited from UserInterfaceObjectBase.) | |
| SetSvg | (Inherited from UserInterfaceControl.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Unregister |
Unregister this object
(Inherited from UserInterfaceObjectBase.) |
| Name | Description | |
|---|---|---|
| CheckedChanged |
Event triggered when a click or a key changes the state of this radio button
|