ClassActiveToolToBooleanConverter
Class
Used for conversion between the active tool of the diagram and all tool buttons in the diagram ribbon.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Ribbon
Assembly:Telerik.Windows.Controls.Diagrams.Ribbon.dll
Syntax:
cs-api-definition
public class ActiveToolToBooleanConverter : IValueConverter
Inheritance: objectActiveToolToBooleanConverter
Implements:
Constructors
ActiveToolToBooleanConverter()
Declaration
cs-api-definition
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
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)
Returns the active tool type if there is a match between the Active Tool and the converter parameter provided from the button.
Declaration
cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns