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

Value converter - converts RecurrenceState.Exception to Visibility.Visible otherwise Visibility.Collapsed.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class RecurrenceStateIsExeptionToVisibilityConverter : IValueConverter

Inheritance: objectRecurrenceStateIsExeptionToVisibilityConverter

Implements: IValueConverter

Constructors

C#
public RecurrenceStateIsExeptionToVisibilityConverter()

Methods

Converts RecurrenceState.Exception to Visibility.Visible otherwise Visibility.Collapsed.

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

RecurrenceState.

targetTypeType

This parameter is not used.

parameterobject

This parameter is not used.

cultureCultureInfo

This parameter is not used.

Returns:

object

Visibility based on the value parameter.

Converts a value.

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

The value that is produced by the binding target.

targetTypeType

The type to convert to.

parameterobject

The converter parameter to use.

cultureCultureInfo

The culture to use in the converter.

Returns:

object

A converted value.

Remarks:

This method is not implemented. Throws NotImplementedException.