Intersoft ClientUI Documentation
UXCommandBar Class
Members  Example  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDesktop Namespace : UXCommandBar Class






Represents a panel bar used to host a collection of command buttons.

Object Model

UXCommandBar Class

Syntax

Visual Basic (Declaration) 
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXButton)>
<DescriptionAttribute("Represents a panel bar used to host a collection of command buttons.")>
Public Class UXCommandBar 
   Inherits Intersoft.Client.Framework.ISItemsControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXCommandBar
C# 
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXButton)]
[DescriptionAttribute("Represents a panel bar used to host a collection of command buttons.")]
public class UXCommandBar : Intersoft.Client.Framework.ISItemsControl, IControlIFramework, ILicensing  
Delphi 
public class UXCommandBar = class(Intersoft.Client.Framework.ISItemsControl, IControl, IFramework, ILicensing)
JScript 
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXButton)
DescriptionAttribute("Represents a panel bar used to host a collection of command buttons.")
public class UXCommandBar extends Intersoft.Client.Framework.ISItemsControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXButton)]
[DescriptionAttribute("Represents a panel bar used to host a collection of command buttons.")]
public __gc class UXCommandBar : public Intersoft.Client.Framework.ISItemsControl, IControlIFramework, ILicensing  
C++/CLI 
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXButton)]
[DescriptionAttribute("Represents a panel bar used to host a collection of command buttons.")]
public ref class UXCommandBar : public Intersoft.Client.Framework.ISItemsControl, IControlIFramework, ILicensing  

Example

The following example shows how to uses UXCommandBar to host command buttons and set the SeparatorBorder property.
XAMLCopy Code
<Intersoft:UXCommandBar SeparatorBorder="Blue">
    <Intersoft:UXButton Content="Customer" />
    <Intersoft:UXButton Content="Product" />
    <Intersoft:UXButton Content="About" />
</Intersoft:UXCommandBar>

Remarks

UXCommandBar is an items control designed specifically to host command buttons, although other UI elements are supported as well. Themed in Aero-theme by default, the command bar displays a 3D-style line separator in its top border which can be easily customizable through SeparatorBorder brush.

It also includes special access key and focus management features in which the contained buttons can be intuitively accessed through keyboard by pressing the first character of its text, i.e, c in Cancel.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.ISItemsControl
                     Intersoft.Client.UI.Aqua.UXDesktop.UXCommandBar

Requirements

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

See Also

© 2012 All Rights Reserved.