Articles in this section
Category / Section

How to handle the StepTapped event in the StepProgressBar

1 min read

This KB article explains how to handle the step tapped event in the Step Progress Bar.

 

Step 1: 

Create a SfStepProgressBar sample with all the necessary assemblies. Refer to this Getting started documentation to create a simple SfStepProgressBar sample and configure it.

 

Step 2:

Use the StepTapped event to track the tapped items in the SfStepProgressBar.

 

XAML

<progressBar:SfStepProgressBar HorizontalOptions="Center"      StepTapped="StepProgressBar_StepTapped" x:Name="StepProgressBar" VerticalOptions="Center" Orientation="Vertical"/>
           

 

Step 3:

Attach the method for step tapped event to track the tapped items.

 

C#

private void StepProgressBar_StepTapped(object sender, StepTappedEventArgs e)
        {
            StepView step = e.Item as StepView;
            int index = e.Index;
        }  

 

The sample that explains how to track the step tapped items using the StepTapped event in the SfStepProgressBar can be downloaded here.

 

If you have any questions or require clarification about this support, please let us know in the following comments section. You can also contact us through our support forum or Direct Trac. We will be happy to assist you!

 

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied