Intersoft ClientUI Documentation
FlowIndex Property (UXFlow)



Gets or sets the current flow position. Changing this value will perform flow animation to the specified index.
Syntax
<CategoryAttribute("Common Properties")>
Public Property FlowIndex As Integer
Dim instance As UXFlow
Dim value As Integer
 
instance.FlowIndex = value
 
value = instance.FlowIndex
[CategoryAttribute("Common Properties")]
public int FlowIndex {get; set;}
[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 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

See Also

Reference

UXFlow Class
UXFlow Members

Concepts

UXFlow

Send Feedback