Intersoft ClientUI Documentation
UXStackItem Class
Members 



Represents stack item control.
Object Model
UXStackItem ClassISFramework ClassStyleSelector ClassDataTemplateSelector ClassUXMenu ClassISelection InterfaceTransformInfo Class
Syntax
<TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)>
<TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")>
<DescriptionAttribute("Represents stack item control.")>
<TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")>
Public Class UXStackItem 
   Inherits Intersoft.Client.UI.Aqua.UXMenuItem
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.Input.ICommandSourceIntersoft.Client.Framework.ISelectionIntersoft.Client.Framework.ISelectionItemIntersoft.Client.Framework.ITransformInfo 
Dim instance As UXStackItem
[TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)]
[TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[DescriptionAttribute("Represents stack item control.")]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")]
public class UXStackItem : Intersoft.Client.UI.Aqua.UXMenuItem, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.Input.ICommandSourceIntersoft.Client.Framework.ISelectionIntersoft.Client.Framework.ISelectionItemIntersoft.Client.Framework.ITransformInfo  
[TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)]
[TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[DescriptionAttribute("Represents stack item control.")]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")]
public ref class UXStackItem : public Intersoft.Client.UI.Aqua.UXMenuItem, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.Input.ICommandSourceIntersoft.Client.Framework.ISelectionIntersoft.Client.Framework.ISelectionItemIntersoft.Client.Framework.ITransformInfo  
Remarks

UXStackItem implements both ICommandSource and INavigationSource that allows both commanding and navigation using UXStackItem

You can do commanding through Command, CommandTarget and CommandParameter properties and navigation using NavigateUri and TargetName properties. To learn more about commanding, see Commanding Overview. To learn more about navigation, see Navigation Overview.

Example
XAML
Copy Code
<Intersoft:UXStackButton Content="Button" HorizontalAlignment="Center" Height="64" VerticalAlignment="Bottom" Width="64" Icon="ShareLarge.png" StackMode="MenuStyle">
    <Intersoft:UXStackItem Icon="twitter.png" Text="Twitter" NavigateUri="www.twitter.com" TargetName="_blank"/>
    <Intersoft:UXStackItem Icon="facebook.png" Text="Facebook" NavigateUri="www.facebook.com" TargetName="_blank"/>
    <Intersoft:UXSeparator></Intersoft:UXSeparator>
    <Intersoft:UXStackItem Icon="email.png" Text="Forward" Command="{Binding ForwardCommand}"/>
</Intersoft:UXStackButton>
Inheritance Hierarchy

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.Framework.ISHeaderedSelectionControl
                           Intersoft.Client.UI.Aqua.UXMenuItem
                              Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem

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

UXStackItem Members
Intersoft.Client.UI.Aqua.UXStackMenu Namespace

Concepts

UXStackButton
Commanding Overview
Navigation Overview

Send Feedback