Show / Hide Table of Contents

Class DataGridLinesVisibilityConverter

Converts a DataGridGridLinesVisibility to a Visibility.

Inheritance
Object
DataGridLinesVisibilityConverter
Implements
IValueConverter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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 Source

Convert(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 value matches the required parameter. A value of All counts as horizontal or vertical. Otherwise, or if value is None, returns Collapsed.

| Improve this Doc View Source

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.

Implements

System.Windows.Data.IValueConverter
  • Improve this Doc
  • View Source
Back to top Generated by DocFX