Slider control issue

Haviv Elbsz 2,071 Reputation points

Hi all

How to define a vertical slider.

Thank you

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,623 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,846 Reputation points

    The wpf slider control has an orientation property you can set to vertical

    0 comments No comments

  2. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,906 Reputation points Microsoft Vendor


    On MAUI platform, you could modify the value of Rotation property to 90 or -90 of Slider to make it vertical.

       <Slider x:Name="sldCameraZoomValue"  Maximum="500.0" Minimum="10.0"  
               VerticalOptions="Center" HorizontalOptions="FillAndExpand" Margin="0" Rotation="-90" />  

    Best Regards,

    Alec Liu.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments