ComponentOne Scheduler for WPF and Silverlight
C1.WPF.Schedule Namespace / EnsureEnumMemberConverter Class
Members

In This Topic
    EnsureEnumMemberConverter Class
    In This Topic
    Represents a Binding converter that indicates whether a binding source value is one of enum members specified in the converter parameter.
    Object Model
    EnsureEnumMemberConverter Class
    Syntax
    'Declaration
     
    
    Public Class EnsureEnumMemberConverter 
    public class EnsureEnumMemberConverter 
    Remarks
    EnsureEnumMemberConverter is a two-way converter. A converter parameter should be a string representing a list of enum member names separated by the ';' or ',' character.

    Source - Target behavior:

    Returns True if a source value is one of the enum members listed in a parameter; otherwise, False.

    Target - Source behavior:

    If target is True, then returns a first enum member (as enum, not as a string name) from members listed in a converter parameter.

    Inheritance Hierarchy

    System.Object
       C1.WPF.Schedule.EnsureEnumMemberConverter

    See Also