Intersoft ClientUI Documentation
How-to: Customize Orientation in UXSliderBar
See Also Send Feedback
Intersoft ClientUI 7 > ClientUI Controls > Control Library > Advanced Input Controls Overview > UXSliderBar > How-to: Customize Orientation in UXSliderBar

Glossary Item Box

This example shows how to customize the orientation in UXSliderBar.

Example

Description

You can specify the orientation of UXSliderBar to Horizontal or Vertical using Orientation property. In horizontal UXSliderBar, the increasing value will start from left to right. In vertical UXSliderBar, the increasing value will start from bottom to top.

Alternatively, you can set IsDirectionReversed property to reverse the direction of the increasing value. If IsDirectionReversed property is set to True, the increasing value will start from right to left in horizontal UXSliderBar and from top to bottom in vertical UXSliderBar.

The following code example shows how to set UXSliderBar as vertical UXSliderBar and reverse the increasing value.

Code

View Copy Code
<Intersoft:UXSliderBar Orientation="Vertical" IsDirectionReversed="True" TickPlacement="BottomRight" />
            

See Also

©2012. All Rights Reserved.