NetXP 3.0 Reference

ListBarItem Members

ListBarItem overview

Public Instance Constructors

ListBarItemOverloaded. Initializes a new instance of the ListBarItem class.

Public Instance Properties

Caption Gets/sets the caption displayed for this item.
Container (inherited from Component) Gets the IContainer that contains the Component.
Enabled Gets/sets whether this item is enabled.
Height Gets the height of this item.
IconRectangle Gets or sets the bounds of the image.
Image Gets or sets the image associated with this item.
Key Gets/sets a user-defined string value which can be used to look up the item in the collection which owns it.
Location Gets the location for this item in the control.
MouseDown Gets/sets whether the mouse is down on this item.
MouseDownPoint Gets/sets the point at which the mouse was pressed on this object.
MouseOver Gets/sets whether the mouse is over this item.
Rectangle Gets or sets the bounds of the item.
Selected Gets/sets whether this item is "selected" or not. Only one item in the ListBar control can be selected at a time.
Site (inherited from Component) Gets or sets the ISite of the Component.
Tag Gets/sets an object which can be used to associate user-defined data with this item.
TextRectangle Gets or sets the bounds of the text.
ToolTipText Gets/sets the tooltip text that will be displayed when the user hovers over this item.
Width Gets the width of this item.

Public Instance Methods

CompareTo Compares this object with another object of the same type. The implementation compares the captions of the items to allow items to be sorted alphabetically.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component) Releases all resources used by the Component.
EnsureVisible Ensures that this item can be seen in the owner control.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
SetLocationAndWidth Sets the location and width of this item. This method is called by internally by the ListBar or the ListBarGroup which owns this item.
SetSize Called to set the height of the item by the owning control.
StartEdit Starts editing this item. The BeforeLabelEdit event will be fired prior to the text box being made visible.
ToString (inherited from Component) 

Public Instance Events

Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.

See Also

ListBarItem Class | NETXP.Controls.Bars Namespace