Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.UI (in Visual3D.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Base class for list box items.
Namespace: Visual3D.UI.ControlsAssembly: Visual3D.UI (in Visual3D.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public class ListBoxItem
Public Class ListBoxItem
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| ListBoxItem(String) | Initializes a new instance of the ListBoxItem class | |
| ListBoxItem(String, Object) | Initializes a new instance of the ListBoxItem class | |
| ListBoxItem(String, Object, Int32, Object, Boolean) | Initializes a new instance of the ListBoxItem class | |
| Alpha | ||
| CreateCopy()()()() | ||
| Disabled |
Get/Set the disabled state of this ListboxItem.
| |
| DisabledTextColor |
Get/Set the hover color for this ListboxItem.
| |
| Draw(Vector3, Single, ScreenRectangle) |
Perform rendering for this ListboxItem
| |
| Equals(Object) | (Overrides Object..::..Equals(Object).) | |
| GreaterThan(ListBoxItem, ListBoxItem) |
Greater-than operator for ListboxItem objects.
| |
| HoveredColor |
Get/Set the hover color for this ListboxItem.
| |
| ID |
Get/Set the ID for this ListboxItem.
| |
| IsHovered |
Get/Set the hovered state of this ListboxItem.
| |
| LessThan(ListBoxItem, ListBoxItem) |
Less-than operator for ListboxItem objects.
| |
| OwnerControl |
Get/Set the owner Control for this ListboxItem.
| |
| Selected |
Get/Set the selected state of this ListboxItem.
| |
| SelectedColor |
Get/Set the selection color for this ListboxItem.
| |
| SelectionBrushImage |
Get/Set the selection brush image for this ListboxItem.
| |
| SetDisabledTextColor(VColor) |
Set the selection color to be used for the entire selection area.
| |
| SetHoverColor(VColor) |
Set the selection color to be used for the entire selection area.
| |
| SetSelectedColor(VColor) |
Set the selection color to be used for the entire selection area.
| |
| SetSelectionBrushImage(String, String) |
Set the selection brush image via Imageset and Image names.
| |
| SetSelectionColors(VColor, VColor, VColor, VColor) |
Set the individual colors to use for the selection area.
| |
| Size |
Return the pixel size of this ListboxItem.
| |
| Text |
Get/Set the text for this ListboxItem.
| |
| UserData |
Get/Set the user data object for this ListboxItem.
| |
| Value |
Get/Set the value for this ListboxItem.
|
Remarks
The ListboxItem is intended to be sub-classed and has the potential to allow virtually any
data to be put into a list box type Control.
Inheritance Hierarchy
System..::..Object
Visual3D.UI.Controls..::..ListBoxItem
Visual3D.UI.Controls..::..ChatListBoxTextItem
Visual3D.UI.Controls..::..InteractiveListBoxTextItem
Visual3D.UI.Controls..::..ListBoxTextItem
Visual3D.UI.Controls..::..ListBoxItem
Visual3D.UI.Controls..::..ChatListBoxTextItem
Visual3D.UI.Controls..::..InteractiveListBoxTextItem
Visual3D.UI.Controls..::..ListBoxTextItem