ClassHorizontalContentAlignmentToTextAlignmentConverter
Class
A ValueConverter for converting HorizontalAlignment to TextAlignment.
Definition
Namespace:Telerik.Windows.Controls.MaskedInput
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
cs-api-definition
public class HorizontalContentAlignmentToTextAlignmentConverter : IValueConverter
Inheritance: objectHorizontalContentAlignmentToTextAlignmentConverter
Implements:
Constructors
HorizontalContentAlignmentToTextAlignmentConverter()
Declaration
cs-api-definition
public HorizontalContentAlignmentToTextAlignmentConverter()
Methods
Convert(object, Type, object, CultureInfo)
Converts the HorizontalContentAlignment value to the corresponding TextAlignment value.
Declaration
cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns
ConvertBack(object, Type, object, CultureInfo)
Converts a TextAlignment value back to HorizontalContentAlignment.
Declaration
cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns