New to Telerik UI for WPFStart a free 30-day trial

Used to convert the visibility property of the description panel to the height property of the RowDefinition.

Definition

Namespace:Telerik.Windows.Controls.Data.PropertyGrid

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public class VisibilityToGridLenghtConverter : IValueConverter

Inheritance: objectVisibilityToGridLenghtConverter

Implements: IValueConverter

Constructors

C#
public VisibilityToGridLenghtConverter()

Methods

Converts the visibility property of the description panel to the height property of the RowDefinition.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypeTypeparameterobjectcultureCultureInfoReturns:

object

Not used.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypeTypeparameterobjectcultureCultureInfoReturns:

object