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






Represents a coverflow control (UXFlow).

Object Model

UXFlow Class

Syntax

Visual Basic (Declaration) 
<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 IControlIFramework, ILicensing, ISelection 
Visual Basic (Usage)Copy Code
Dim instance As UXFlow
C# 
[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, IControlIFramework, ILicensing, ISelection  
Delphi 
public class UXFlow = class(Intersoft.Client.Framework.ISSelectionControl, IControl, IFramework, ILicensing, ISelection)
JScript 
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 extends Intersoft.Client.Framework.ISSelectionControl implements IControlIFramework, ILicensing, ISelection 
Managed Extensions for C++ 
[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 __gc class UXFlow : public Intersoft.Client.Framework.ISSelectionControl, IControlIFramework, ILicensing, ISelection  
C++/CLI 
[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, IControlIFramework, ILicensing, ISelection  

Remarks

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>

Inheritance Hierarchy

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

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.