ICreate.Controls.Bars Send comments on this topic.
SideBarItem Class
See Also  Members  
ICreate.Controls.Bars Namespace : SideBarItem Class






SideBarItem represents a button, with associated Panel, on a SideBar.

Object Model


Syntax

Visual Basic (Declaration) 
Public Class SideBarItem 
   Inherits BarItemCommand
Visual Basic (Usage)Copy Code
Dim instance As SideBarItem
C# 
public class SideBarItem : BarItemCommand 
Delphi 
public class SideBarItem = class(BarItemCommand)
JScript 
public class SideBarItem extends BarItemCommand
Managed Extensions for C++ 
public __gc class SideBarItem : public BarItemCommand 
C++/CLI 
public ref class SideBarItem : public BarItemCommand 

Remarks

SideBarItem represents a button and associated InternalPanel on a SideBar. The button is located in the button stack. The button can appear as a main button in the stack, a small button on the footer or an item on the menu. The location of the button depends on the number of buttons in the stack, the position of the button in the stack and the number of buttons in the main stack.

The background and text colour of the SideBarItem, when in a specific state, can be set using one of the many colour properties of the parent SideBar. The background and text colour, for the normal state, can be overriden using the ButtonBackColor and ButtonForeColor properties.

The InternalPanel of the selected SideBarItem is displayed in the panel region of the SideBar. The SelectedItem gets and sets the selected SideBarItem. The SideBarItem can also be associated with some external Control. This Control is visible when the SideBarItem is selected; otherwise it is hidden.

A small version of the Image is used when the SideBarItem is displayed on the SideBar footer or menu. The ImageSmall property can be used to specify the small image. Alternatively set the ImageSmallList and specify the ImageIndex or ImageKey property. If no small image is specified then the SideBar automatically generates a small version from the Image.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         ICreate.Controls.Bars.BarItem
            ICreate.Controls.Bars.BarItemCommand
               ICreate.Controls.Bars.SideBarItem

Requirements

Namespace: ICreate.Controls.Bars

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: ICreate.Controls.Bars (in ICreate.Controls.Bars.dll)

See Also