Intersoft ClientUI Documentation
UXRibbonGallery Class
Members 



Represents a control that displays a collection of related items or Commands in the Ribbon.
Object Model
UXRibbonGallery ClassISFramework ClassStyleSelector ClassDataTemplateSelector Class
Syntax
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonGalleryItem)>
<DescriptionAttribute("Represents a control that displays a collection of related items or Commands in the Ribbon.")>
<TemplatePartAttribute(Name="ItemsPresenterElement", Type=System.Windows.Controls.ItemsPresenter)>
<TemplatePartAttribute(Name="ScrollViewerElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)>
Public Class UXRibbonGallery 
   Inherits Intersoft.Client.Framework.ISSelectionControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelection 
Dim instance As UXRibbonGallery
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonGalleryItem)]
[DescriptionAttribute("Represents a control that displays a collection of related items or Commands in the Ribbon.")]
[TemplatePartAttribute(Name="ItemsPresenterElement", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="ScrollViewerElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public class UXRibbonGallery : Intersoft.Client.Framework.ISSelectionControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelection  
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonGalleryItem)]
[DescriptionAttribute("Represents a control that displays a collection of related items or Commands in the Ribbon.")]
[TemplatePartAttribute(Name="ItemsPresenterElement", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="ScrollViewerElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public ref class UXRibbonGallery : public Intersoft.Client.Framework.ISSelectionControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelection  
Remarks

UXRibbonGallery is an items control that displays a list of items in horizontal direction. Unlike common items control, the gallery control provides a unique way to present user options graphically on the ribbon. You can use UXRibbonGallery as a standalone control, or embed it as an item of other controls such as UXRibbonDropDownButton and UXRibbonSplitButton.

UXRibbonGallery can be used as a standalone control or used together with supported controls such as UXRibbonDropDownButton, UXRibbonSplitButton and UXRibbonGalleryList.

The following code shows how to use UXRibbonGallery as a standalone control.

XAML
Copy Code
<Intersoft:UXRibbonGallery> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph1.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph2.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph3.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph4.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph5.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph6.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph7.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph8.png" /> 
        <Intersoft:UXRibbonGalleryItem DisplayMode="Image" ImageWidth="64" ImageHeight="48" Icon="/RibbonSample;component/Assets/Images/Doc/Item/paragraph9.png" /> 
</Intersoft:UXRibbonGallery> 

The result looks like the following figure.

To learn more about UXRibbonGallery, see UXRibbonGallery Overview.

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.Framework.ISSelectionControl
                        Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonGallery

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

UXRibbonGallery Members
Intersoft.Client.UI.Aqua.UXRibbon Namespace

Send Feedback