| Visual Basic (Declaration) | |
|---|---|
Public Class ButtonBarButton Inherits ButtonBarItem Implements ICheckable | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public class ButtonBarButton : ButtonBarItem, ICheckable | |
| Delphi | |
|---|---|
public class ButtonBarButton = class(ButtonBarItem, ICheckable) | |
| JScript | |
|---|---|
public class ButtonBarButton extends ButtonBarItem implements ICheckable | |
| Managed Extensions for C++ | |
|---|---|
public __gc class ButtonBarButton : public ButtonBarItem, ICheckable | |
| C++/CLI | |
|---|---|
public ref class ButtonBarButton : public ButtonBarItem, ICheckable | |
A ButtonBarBar can display Text and an Image. The position of the Text relative to the Image is determined by the value of the TextImageRelation property. A Menu can be assigned to ButtonBarButton. The menu is displayed when the ButtonBarButton is clicked. If SubButton is true, then the ButtonBarButton is drawn with a small subordinate button on the right. The Menu, in this case, is displayed when the sub button is clicked.
A ButtonBarButton can be Checked. If CheckOnClick is true, then the Checked property is automatically toggled when the ButtonBarButton is clicked. If the ButtonBarButton has a CheckGroupIdentifier, then the ButtonBar ensures that only one ButtonBarButton in the check group is Checked at any time. If a ButtonBarButton belongs to a check group and it is possible for no button in the group to be checked then set the EnableGroupUncheck property to true.
It is possible to assign a Control to a ButtonBarButton. The Control will be made visible when the ButtonBarButton is clicked. All controls assigned to the other ButtonBarButton instances are hidden. It is suggested that all ButtonBarButton instances with a Control belong to a single check group allowing the user to visually see which ButtonBarButton is selected and hence which Control is currently visible.
ICreate.Controls.Bars.BarItem
ICreate.Controls.Bars.ButtonBarItem
ICreate.Controls.Bars.ButtonBarButton
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)


~103.gif)