New to Telerik UI for WPFStart a free 30-day trial

Expand Direction

Updated over 6 months ago

The ExpandDirection property gets or sets the direction in which the content would expand. This property is an enumeration which exposes four values: Down, Left, Right, Up.

Example 1: Setting ExpandDirection property

XAML
	<Grid>
		<telerik:RadExpander Width="200" Height="200"
							ExpandDirection="Down" Background="Bisque"
							Header="ExpandDirection Down">
			<StackPanel Orientation="Vertical">
				<Ellipse Width="99"  
						Height="99" 
						Margin="5" 
						Fill="Blue" />
			</StackPanel>
		</telerik:RadExpander>
	</Grid>

Figure 1: ExpandDirection set to Down

WPF RadExpander ExpandDirection set to Down

Figure 2: ExpandDirection set to Left

WPF RadExpander ExpandDirection set to Left

Figure 3: ExpandDirection set to Right

WPF RadExpander ExpandDirection set to Right

Figure 4: ExpandDirection set to Up

WPF RadExpander ExpandDirection set to Up

Not finding the help you need?
Contact Support