Intersoft ClientUI Documentation
UXRibbonGalleryItem Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonGalleryItem Class






Represents an item that can be used in UXRibbonGallery control.

Object Model

UXRibbonGalleryItem Class

Syntax

Visual Basic (Declaration) 
<TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")>
<TemplatePartAttribute(Name="SelectionAnimationElement", Type=System.Windows.Controls.Border)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")>
<DescriptionAttribute("Represents an item that can be used in UXRibbonGallery control.")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")>
<TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
<TemplatePartAttribute(Name="SelectionInnerBorder", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")>
<TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="KeyboardAnimationElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="KeyboardInnerBorder", Type=System.Windows.Controls.Border)>
Public Class UXRibbonGalleryItem 
   Inherits Intersoft.Client.Framework.ISSelectionItemControl
   Implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItem 
Visual Basic (Usage)Copy Code
Dim instance As UXRibbonGalleryItem
C# 
[TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="SelectionAnimationElement", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[DescriptionAttribute("Represents an item that can be used in UXRibbonGallery control.")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplatePartAttribute(Name="SelectionInnerBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardAnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardInnerBorder", Type=System.Windows.Controls.Border)]
public class UXRibbonGalleryItem : Intersoft.Client.Framework.ISSelectionItemControl, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItem  
JScript 
TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")
TemplatePartAttribute(Name="SelectionAnimationElement", Type=System.Windows.Controls.Border)
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")
DescriptionAttribute("Represents an item that can be used in UXRibbonGallery control.")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")
TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")
TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")
TemplatePartAttribute(Name="SelectionInnerBorder", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")
TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="KeyboardAnimationElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="KeyboardInnerBorder", Type=System.Windows.Controls.Border)
public class UXRibbonGalleryItem extends Intersoft.Client.Framework.ISSelectionItemControl implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItem 
Managed Extensions for C++ 
[TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="SelectionAnimationElement", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[DescriptionAttribute("Represents an item that can be used in UXRibbonGallery control.")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplatePartAttribute(Name="SelectionInnerBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardAnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardInnerBorder", Type=System.Windows.Controls.Border)]
public __gc class UXRibbonGalleryItem : public Intersoft.Client.Framework.ISSelectionItemControl, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItem  
C++/CLI 
[TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="SelectionAnimationElement", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[DescriptionAttribute("Represents an item that can be used in UXRibbonGallery control.")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplatePartAttribute(Name="SelectionInnerBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardAnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardInnerBorder", Type=System.Windows.Controls.Border)]
public ref class UXRibbonGalleryItem : public Intersoft.Client.Framework.ISSelectionItemControl, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItem  

Remarks

UXRibbonGallery supports selection capability and provides UXRibbonGalleryItem as the item to support the selection infrastructure that complies with MVVM pattern.

UXRibbonGallery uses content control architecture which allows you to put any arbitrary object to its Content. UXRibbonGallery extends the content model with ImageContent presentation to provide an efficient way to display an image in addition to the content itself.

To learn more about UXRibbonGalleryItem, see Understanding UXRibbonGalleryItem.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.Framework.ISSelectionItemControl
                        Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonGalleryItem

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.