Class DataGridLinesVisibilityConverter
Converts a DataGridGridLinesVisibility to a Visibility.
Implements
Inherited Members
Namespace: PresentationTheme.Aero.Win10
Assembly: PresentationTheme.Aero.Win10.dll
Syntax
[ValueConversion(typeof(DataGridGridLinesVisibility), typeof(Visibility), ParameterType = typeof(DataGridGridLinesVisibility))]
public sealed class DataGridLinesVisibilityConverter : IValueConverter
Methods
| Improve this Doc View SourceConvert(Object, Type, Object, CultureInfo)
Converts a DataGridGridLinesVisibility value to a Visibility.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value produced by the binding source. |
Type | targetType | The type of the binding target property. |
Object | parameter | The DataGridGridLinesVisibility required for visibility. |
CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
Object | Visible if the |
ConvertBack(Object, Type, Object, CultureInfo)
Not supported.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | Not used. |
Type | targetType | Not used. |
Object | parameter | Not used. |
CultureInfo | culture | Not used. |
Returns
Type | Description |
---|---|
Object | Not used. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Always. |