Represents a Binding converter that indicates whether a binding source value
is an enum member specified in the converter parameter.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
[ValueConversionAttribute(typeof(ImportanceEnum), typeof(bool))] public class ImportanceEnumMemberConverter : IValueConverter |
Visual Basic (Declaration) |
---|
<ValueConversionAttribute(GetType(ImportanceEnum), GetType(Boolean))> _ Public Class ImportanceEnumMemberConverter _ Implements IValueConverter |
Remarks
ImportanceEnumMemberConverter is a two-way converter.
Source - Target behavior:
If a binding source value is an enum member specified in a converter parameter, then a binding target value is True; otherwise, False.
Target - Source behavior:
If target is True, then the source is an enum member specified in a parameter. If target is False and parameter is High or Low, then source is Normal.