Intersoft.Client.UI.Aqua.UXFlow Namespace : UXFlow Class |
<DescriptionAttribute("Represents a coverflow control (UXFlow).")> <TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="BackgroundContainerElement", Type=System.Windows.Controls.Grid)> <StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXFlow.UXFlowItem)> <TemplatePartAttribute(Name="UXFlowElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="VideoPlayer", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayer)> <TemplatePartAttribute(Name="BackgroundElement", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="VideoPlayerContainer", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="TextElement", Type=System.Windows.Controls.StackPanel)> <TemplatePartAttribute(Name="ViewElement", Type=Intersoft.Client.UI.Controls.Viewbox)> <TemplatePartAttribute(Name="VideoElementPerspective", Type=Intersoft.Client.UI.Controls.ContentPerspective)> <TemplatePartAttribute(Name="SubTitleElement", Type=System.Windows.Controls.TextBlock)> <TemplatePartAttribute(Name="ControlPanelContainerElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="BackgroundTemplateElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="TitleElement", Type=System.Windows.Controls.TextBlock)> <TemplatePartAttribute(Name="ControlPanelElement", Type=Intersoft.Client.UI.Aqua.UXFlow.UXFlowControlPanel)> Public Class UXFlow Inherits Intersoft.Client.Framework.ISSelectionControl Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelection
Dim instance As UXFlow
[DescriptionAttribute("Represents a coverflow control (UXFlow).")] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="BackgroundContainerElement", Type=System.Windows.Controls.Grid)] [StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXFlow.UXFlowItem)] [TemplatePartAttribute(Name="UXFlowElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="VideoPlayer", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayer)] [TemplatePartAttribute(Name="BackgroundElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="VideoPlayerContainer", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="TextElement", Type=System.Windows.Controls.StackPanel)] [TemplatePartAttribute(Name="ViewElement", Type=Intersoft.Client.UI.Controls.Viewbox)] [TemplatePartAttribute(Name="VideoElementPerspective", Type=Intersoft.Client.UI.Controls.ContentPerspective)] [TemplatePartAttribute(Name="SubTitleElement", Type=System.Windows.Controls.TextBlock)] [TemplatePartAttribute(Name="ControlPanelContainerElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="BackgroundTemplateElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="TitleElement", Type=System.Windows.Controls.TextBlock)] [TemplatePartAttribute(Name="ControlPanelElement", Type=Intersoft.Client.UI.Aqua.UXFlow.UXFlowControlPanel)] public class UXFlow : Intersoft.Client.Framework.ISSelectionControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelection
[DescriptionAttribute("Represents a coverflow control (UXFlow).")] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="BackgroundContainerElement", Type=System.Windows.Controls.Grid)] [StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXFlow.UXFlowItem)] [TemplatePartAttribute(Name="UXFlowElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="VideoPlayer", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayer)] [TemplatePartAttribute(Name="BackgroundElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="VideoPlayerContainer", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="TextElement", Type=System.Windows.Controls.StackPanel)] [TemplatePartAttribute(Name="ViewElement", Type=Intersoft.Client.UI.Controls.Viewbox)] [TemplatePartAttribute(Name="VideoElementPerspective", Type=Intersoft.Client.UI.Controls.ContentPerspective)] [TemplatePartAttribute(Name="SubTitleElement", Type=System.Windows.Controls.TextBlock)] [TemplatePartAttribute(Name="ControlPanelContainerElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="BackgroundTemplateElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="TitleElement", Type=System.Windows.Controls.TextBlock)] [TemplatePartAttribute(Name="ControlPanelElement", Type=Intersoft.Client.UI.Aqua.UXFlow.UXFlowControlPanel)] public ref class UXFlow : public Intersoft.Client.Framework.ISSelectionControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelection
UXFlow is inherited from ISSelectionControl, which mean it can be used to perform a single selection. For more information about selection control, see ItemsControl Overview and Content Model Overview.
FlowIndex is used to indicate and control the current flow position. FlowIndex will always be the same as SelectedIndex as long the TotalFocusItem property is set to 1.
The following example shows how to use the FlowIndex in the UXFlow control.
XAML |
Copy Code
|
---|---|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <Intersoft:UXFlow x:Name="UXFlow1" Width="700" Height="300" TotalFocusItem="3"> <Intersoft:UXFlowItem ImageSource="le-meurice.jpg" Title="Hôtel Le Meurice" SubTitle="Paris, opposite Tuileries Garden."/> <Intersoft:UXFlowItem ImageSource="altira-macau.jpg" Title="Altira Macau" SubTitle="Taipa Island, Macau."/> <Intersoft:UXFlowItem ImageSource="st-regis.jpg" Title="St. Regis Shanghai" SubTitle="Shanghai, China."/> <Intersoft:UXFlowItem ImageSource="palazzo-versace.jpg" Title="Palazzo Versace Australia" SubTitle="Gold Coast, Queensland, Australia."/> <Intersoft:UXFlowItem ImageSource="town-house-galleria.jpg" Title="Town House Galleria" SubTitle="Milan, Italy."/> <Intersoft:UXFlowItem ImageSource="burj-al-arab.jpg" Title="Burj Al Arab" SubTitle="Dubai, United Arab Emirates."/> <Intersoft:UXFlowItem ImageSource="emirates-palace.jpg" Title="Emirates Palace" SubTitle="Abu Dhabi, United Arab Emirates."/> <Intersoft:UXFlowItem ImageSource="mardan-place.jpg" Title="Mardan Palace" SubTitle="Antalya, Turkey"/> <Intersoft:UXFlowItem ImageSource="amanjiwo-resort.jpg" Title="Amanjiwo Resort Borobudur" SubTitle="Central Java, Indonesia"/> <Intersoft:UXFlowItem ImageSource="grand-hotel-europe.jpg" Title="Grand Hotel Europe" SubTitle="St. Petersburg, Russia"/> </Intersoft:UXFlow> <Intersoft:FieldLabel Header="FlowIndex: "> <TextBlock Text="{Binding FlowIndex, ElementName=UXFlow1}" VerticalAlignment="Center"/> </Intersoft:FieldLabel> <Intersoft:FieldLabel Header="SelectedIndex: "> <TextBlock Text="{Binding SelectedIndex, ElementName=UXFlow1}" VerticalAlignment="Center"/> </Intersoft:FieldLabel> </StackPanel> |
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.UXFlow.UXFlow
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