Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonTab Class |
<TemplateVisualStateAttribute(Name="KeyboardUnfocused", GroupName="KeyboardFocusStates")> <TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")> <TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")> <TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")> <DescriptionAttribute("Represents a tab item that consist of a header and a collection of group.")> <TemplatePartAttribute(Name="InactiveBorder", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)> <TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")> <TemplatePartAttribute(Name="OuterHeader", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="AnimationOverlayElement", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)> <TemplatePartAttribute(Name="ContentItemPresenter", Type=System.Windows.Controls.ItemsPresenter)> <TemplatePartAttribute(Name="ContentElement", Type=Intersoft.Client.UI.Controls.StylishLabel)> <TemplatePartAttribute(Name="AnimationInnerOverlayElement", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="ActiveBorder", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)> <TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")> <TemplatePartAttribute(Name="TabSeparatorElement", Type=Intersoft.Client.UI.Aqua.UXSeparator)> <TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)> Public Class UXRibbonTab Inherits Intersoft.Client.Framework.ISHeaderedItemsControl Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItem, IRibbonKeyTipAction
Dim instance As UXRibbonTab
[TemplateVisualStateAttribute(Name="KeyboardUnfocused", GroupName="KeyboardFocusStates")] [TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")] [DescriptionAttribute("Represents a tab item that consist of a header and a collection of group.")] [TemplatePartAttribute(Name="InactiveBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)] [TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")] [TemplatePartAttribute(Name="OuterHeader", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="AnimationOverlayElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)] [TemplatePartAttribute(Name="ContentItemPresenter", Type=System.Windows.Controls.ItemsPresenter)] [TemplatePartAttribute(Name="ContentElement", Type=Intersoft.Client.UI.Controls.StylishLabel)] [TemplatePartAttribute(Name="AnimationInnerOverlayElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="ActiveBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)] [TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")] [TemplatePartAttribute(Name="TabSeparatorElement", Type=Intersoft.Client.UI.Aqua.UXSeparator)] [TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)] public class UXRibbonTab : Intersoft.Client.Framework.ISHeaderedItemsControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItem, IRibbonKeyTipAction
[TemplateVisualStateAttribute(Name="KeyboardUnfocused", GroupName="KeyboardFocusStates")] [TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")] [DescriptionAttribute("Represents a tab item that consist of a header and a collection of group.")] [TemplatePartAttribute(Name="InactiveBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)] [TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")] [TemplatePartAttribute(Name="OuterHeader", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="AnimationOverlayElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)] [TemplatePartAttribute(Name="ContentItemPresenter", Type=System.Windows.Controls.ItemsPresenter)] [TemplatePartAttribute(Name="ContentElement", Type=Intersoft.Client.UI.Controls.StylishLabel)] [TemplatePartAttribute(Name="AnimationInnerOverlayElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="ActiveBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)] [TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")] [TemplatePartAttribute(Name="TabSeparatorElement", Type=Intersoft.Client.UI.Aqua.UXSeparator)] [TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)] public ref class UXRibbonTab : public Intersoft.Client.Framework.ISHeaderedItemsControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItem, IRibbonKeyTipAction
UXRibbonTab is inherited from ISHeaderedItemsControl which means this control has a header and collection of items that represent the control. There are two types of item that you can declare in UXRibbonTab which are UXRibbonTabGroup and UXRibbonTabOrderedGroup. Each group has different behaviors and configurations that you can use to organize your commands.
The following code shows how to define simple ribbon tabs.
XAML |
Copy Code
|
---|---|
<Intersoft:UXRibbonTab Header="Home" HeaderImage="/assets/icons/new_email.png" HeaderDisplayMode="ContentAndImage" HeaderImageStretch="Uniform"> </Intersoft:UXRibbonTab> <Intersoft:UXRibbonTab Header="Opportunities" /> <Intersoft:UXRibbonTab Header="View" /> |
To learn more about UXRibbonTab, see Understanding UXRibbonTab.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
Intersoft.Client.Framework.HeaderedItemsControl
Intersoft.Client.Framework.ISHeaderedItemsControl
Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonTab
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