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
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.Windows.Shared.Printing
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class PrintQueueNameToVisibilityConverter : 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