Intersoft ClientUI Documentation
UXStackItem Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXStackMenu Namespace : UXStackItem Class






Represents stack item control.

Object Model

UXStackItem Class

Syntax

Visual Basic (Declaration) 
<TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)>
<TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)>
<TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)>
<TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)>
<DescriptionAttribute("Represents stack item control.")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")>
Public Class UXStackItem 
   Inherits Intersoft.Client.UI.Aqua.UXMenuItem
   Implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemITransformInfo 
Visual Basic (Usage)Copy Code
Dim instance As UXStackItem
C# 
[TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)]
[TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[DescriptionAttribute("Represents stack item control.")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
public class UXStackItem : Intersoft.Client.UI.Aqua.UXMenuItem, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemITransformInfo  
JScript 
TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)
TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)
TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)
TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)
DescriptionAttribute("Represents stack item control.")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")
public class UXStackItem extends Intersoft.Client.UI.Aqua.UXMenuItem implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemITransformInfo 
Managed Extensions for C++ 
[TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)]
[TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[DescriptionAttribute("Represents stack item control.")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
public __gc class UXStackItem : public Intersoft.Client.UI.Aqua.UXMenuItem, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemITransformInfo  
C++/CLI 
[TemplatePartAttribute(Name="StackImageElement", Type=Intersoft.Client.UI.Controls.ImageLoader)]
[TemplatePartAttribute(Name="StackContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackImageContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ContentContainer", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="StackElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ImageContainer", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStackMenu.UXStackItem)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[DescriptionAttribute("Represents stack item control.")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Checked")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
public ref class UXStackItem : public Intersoft.Client.UI.Aqua.UXMenuItem, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemITransformInfo  

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>

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.

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 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.