Class HeaderVisibilityConverter
Converts multiple boolean values to a System.Windows.Visibility value to determine the visibility of a header panel.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class HeaderVisibilityConverter : IMultiValueConverter
Constructors
HeaderVisibilityConverter()
Declaration
public HeaderVisibilityConverter()
Methods
Convert(Object[], Type, Object, CultureInfo)
Converts two boolean values indicating header visibility settings into a System.Windows.Visibility value.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object[] | values | An array of two boolean values: the first indicates general header visibility, the second indicates float window header visibility. |
| System.Type | targetType | The target type of the binding (expected to be System.Windows.Visibility). |
| System.Object | parameter | An optional parameter to influence the conversion logic (not used). |
| System.Globalization.CultureInfo | culture | The culture to use in the converter (not used). |
Returns
| Type | Description |
|---|---|
| System.Object | System.Windows.Visibility.Collapsed if either value indicates no header; otherwise, System.Windows.Visibility.Visible. |
ConvertBack(Object, Type[], Object, CultureInfo)
Not implemented. Throws a System.NotImplementedException.
Declaration
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value | The value produced by the binding target. |
| System.Type[] | targetTypes | The array of target types. |
| System.Object | parameter | An optional parameter. |
| System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
| Type | Description |
|---|---|
| System.Object[] | Throws System.NotImplementedException. |