Class ActiveToolToBooleanConverter
Used for conversion between the active tool of the diagram and all tool buttons in the diagram ribbon.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Diagrams.Ribbon
Assembly: Telerik.Windows.Controls.Diagrams.Ribbon.dll
Syntax
public class ActiveToolToBooleanConverter : IValueConverter
Constructors
ActiveToolToBooleanConverter()
Declaration
public ActiveToolToBooleanConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Returns true if there is a match between the Active Tool and the converter parameter provided from the button.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Returns the active tool type if there is a match between the Active Tool and the converter parameter provided from the button.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|