Intersoft.Client.UI.Aqua.UXStackMenu Namespace : UXStackItem Class |
<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.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSource, Intersoft.Client.Framework.INavigationSupport, Intersoft.Client.Framework.Input.ICommandSource, Intersoft.Client.Framework.ISelection, Intersoft.Client.Framework.ISelectionItem, Intersoft.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.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSource, Intersoft.Client.Framework.INavigationSupport, Intersoft.Client.Framework.Input.ICommandSource, Intersoft.Client.Framework.ISelection, Intersoft.Client.Framework.ISelectionItem, Intersoft.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.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSource, Intersoft.Client.Framework.INavigationSupport, Intersoft.Client.Framework.Input.ICommandSource, Intersoft.Client.Framework.ISelection, Intersoft.Client.Framework.ISelectionItem, Intersoft.Client.Framework.ITransformInfo
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.
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> |
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
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