Class PrintQueueNameToVisibilityConverter
This class makes relation between System.Printing.PrintQueue.Name value and System.Windows.Visibility value.
Inheritance
System.Object
PrintQueueNameToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Shared.Printing
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class PrintQueueNameToVisibilityConverter : Object, IValueConverter
Constructors
PrintQueueNameToVisibilityConverter()
Declaration
public PrintQueueNameToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
This method converts System.Printing.PrintQueue.Name value to System.Windows.Visibility.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value for converting. |
System.Type | targetType | The type of the binding target property. |
System.Object | parameter | Parameter indicates UI element name. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | Result converting. |
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.Globalization.CultureInfo | culture |
Returns
Type |
---|
System.Object |
Implements
System.Windows.Data.IValueConverter