Method Convert
Convert(object, Type, object, CultureInfo)
Converts a TextAlignment value to a HorizontalAlignment value.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
objectThe TextAlignment value to convert.
targetType
TypeThe type of the binding target property.
parameter
objectThe converter parameter to use.
culture
CultureInfoThe culture to use in the converter.
Returns
- object
The converted HorizontalAlignment value.