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

Calculates a RotationAngle based on a ExpandDirection.

Definition

Namespace:Telerik.Windows.Controls.Expander

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class ExpandDirectionToRotationAngleConverter : IValueConverter

Inheritance: objectExpandDirectionToRotationAngleConverter

Implements: IValueConverter

Constructors

C#
public ExpandDirectionToRotationAngleConverter()

Methods

Converts object to Visibility.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The object that will be used for conversion.

targetTypeType

This parameter is not used.

parameterobject

This parameter is not used.

cultureCultureInfo

This parameter is not used.

Returns:

object

Visibility presentation of the object.

Converts a value.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The value that is produced by the binding target.

targetTypeType

The type to convert to.

parameterobject

The converter parameter to use.

cultureCultureInfo

The culture to use in the converter.

Returns:

object

A converted value.

Remarks:

This method is not implemented. Throws NotImplementedException.