Class TextSpacingConverter
Denotes whether the step view items is last element in the SfStepProgressBar.
Inheritance
System.Object
TextSpacingConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.UI.Xaml.ProgressBar.Converters
Assembly: Syncfusion.SfProgressBar.WPF.dll
Syntax
public class TextSpacingConverter : IValueConverter
Constructors
TextSpacingConverter()
Declaration
public TextSpacingConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts StepViewItem object to System.Windows.Thickness.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Step view object to be converted. |
System.Type | targetType | The type of the binding target property. |
System.Object | parameter | Does not matter. |
System.Globalization.CultureInfo | culture | Currently used culture. |
Returns
Type | Description |
---|---|
System.Object | A converted value. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts System.Windows.Thickness object to StepViewItem object .
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The System.Windows.Thickness object to be converted. |
System.Type | targetType | The type to convert to. |
System.Object | parameter | Does not matter. |
System.Globalization.CultureInfo | culture | Currently used culture. |
Returns
Type | Description |
---|---|
System.Object | A converted value. |
Implements
System.Windows.Data.IValueConverter