Intersoft ClientUI Documentation
UXCommandBar Class
Members  Example 



Represents a panel bar used to host a collection of command buttons.
Object Model
UXCommandBar ClassISFramework ClassStyleSelector ClassDataTemplateSelector Class
Syntax
<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 Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing 
Dim instance As UXCommandBar
[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, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing  
[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, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing  
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.

Example
The following example shows how to uses UXCommandBar to host command buttons and set the SeparatorBorder property.
<Intersoft:UXCommandBar SeparatorBorder="Blue">
    <Intersoft:UXButton Content="Customer" />
    <Intersoft:UXButton Content="Product" />
    <Intersoft:UXButton Content="About" />
</Intersoft:UXCommandBar>
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXCommandBar Members
Intersoft.Client.UI.Aqua.UXDesktop Namespace
Window and Dialog Boxes Overview

Send Feedback