Gets or sets the orientation of a Slider.
Public Property Orientation As Orientation Get Set
Dim instance As Slider Dim value As Orientation value = instance.Orientation instance.Orientation = value
public Orientation Orientation { get; set; }
<object Orientation="Orientation"/>
Dependency property identifier field: OrientationProperty
The following code example shows how to set the Orientation property for a vertical slider.
Run this sample
<Slider Margin="0,5,0,20" x:Name="slider3" Minimum="0" Maximum="10" Height="100" Orientation="Vertical"/>
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.