Change Color StepViewItem

Good Morning,

I need to change in Lime color the StepViewItem,

in the sample attached you see the blue color but must be Lime color.

Can you give me an advice?

T


Attachment: Screenshot_20230629_154724_2f02c2f4.zip

7 Replies

HD Hemalatha Duraisamy Syncfusion Team June 30, 2023 01:57 PM UTC

We have created a simple sample based on the provided information, and the sample can be downloaded from the link below.

https://www.syncfusion.com/downloads/support/directtrac/general/ze/StepProgressSample2009534143


To apply the color on the step view item based on the step view status using the "MarkerTemplateSelector" property, please find the UG link below.

https://help.syncfusion.com/wpf/step-progressbar/customizing-data-templates#marker-template-selector


Could you please try the above-suggested solution and let us know whether it meets your requirement or not.




EG Edoardo Gazzola June 30, 2023 03:46 PM UTC

Could you please apply this to my project...?

I am getting an error a

<local:StepViewItemMarkerTemplateSelector x:Key="stepViewItemMarkerTemplateSelector"/>



Attachment: lima_fch50m.02_230624main_5442c55a.zip


HD Hemalatha Duraisamy Syncfusion Team July 1, 2023 02:01 PM UTC

We have modified the provided sample based on your requirement and the sample can be downloaded from the link below.

https://www.syncfusion.com/downloads/support/directtrac/general/ze/lima_fch-50m.02_230624-main-1505714117


Please the find the code snippet for <local:StepViewItemMarkerTemplateSelector x:Key="stepViewItemMarkerTemplateSelector"/> in HomeView.xaml file




EG Edoardo Gazzola July 1, 2023 02:27 PM UTC

Thank you for the example but if I set the "SelectedIndex" of the SfStepProgressBar the circle doesn't change color in Lime color but stay blue color.

Can you tell me why?



Attachment: Screenshot_20230701_162300_ccb698ba.zip


HD Hemalatha Duraisamy Syncfusion Team July 3, 2023 02:46 PM UTC

We have modified the provided sample based on your requirement and the sample can be downloaded from the link below.

https://www.syncfusion.com/downloads/support/directtrac/general/ze/lima_fch-50m.02_230624-main-1597056497


Please find the video for set the "SelectedIndex" of the SfStepProgressBar the circle

https://www.syncfusion.com/downloads/support/directtrac/general/ze/WPF1699335542


Please the find the code snippet for set the “MarkerTemplateSelector”





EG Edoardo Gazzola July 3, 2023 03:06 PM UTC

Hi  Hemalatha,

It's perfect...Thank you for your support.

Regards



HD Hemalatha Duraisamy Syncfusion Team July 4, 2023 04:41 PM UTC

Most welcome. Please get back to us if you need any assistance.


Loader.
Up arrow icon