Intersoft ClientUI Documentation
FlowIndex Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXFlow Namespace > UXFlow Class : FlowIndex Property






Gets or sets the current flow position. Changing this value will perform flow animation to the specified index.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property FlowIndex As Integer
Visual Basic (Usage)Copy Code
Dim instance As UXFlow
Dim value As Integer
 
instance.FlowIndex = value
 
value = instance.FlowIndex
C# 
[CategoryAttribute("Common Properties")]
public int FlowIndex {get; set;}
Delphi 
public read-write property FlowIndex: Integer; 
JScript 
CategoryAttribute("Common Properties")
public function get,set FlowIndex : int
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property int get_FlowIndex();
public: __property void set_FlowIndex( 
   int value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property int FlowIndex {
   int get();
   void set (    int value);
}

Remarks

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>

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.