C# Class Example_Ambilight_full.TakeAsIs.Helper.CheckboxEnumFlagHelper

Show file Open project: DarthAffe/CUE.NET

Public Properties

Property Type Description
FlagsProperty DependencyProperty
ValueProperty DependencyProperty

Public Methods

Method Description
GetFlags ( DependencyObject element ) : Enum
GetValue ( DependencyObject element ) : Enum
SetFlags ( DependencyObject element, Enum value ) : void
SetValue ( DependencyObject element, Enum value ) : void

Private Methods

Method Description
FlagsChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
UpdateSource ( object sender, RoutedEventArgs routedEventArgs ) : void
UpdateTarget ( CheckBox checkbox, Enum flags ) : void
ValueChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void

Method Details

GetFlags() public static method

public static GetFlags ( DependencyObject element ) : Enum
element DependencyObject
return Enum

GetValue() public static method

public static GetValue ( DependencyObject element ) : Enum
element DependencyObject
return Enum

SetFlags() public static method

public static SetFlags ( DependencyObject element, Enum value ) : void
element DependencyObject
value Enum
return void

SetValue() public static method

public static SetValue ( DependencyObject element, Enum value ) : void
element DependencyObject
value Enum
return void

Property Details

FlagsProperty public static property

public static DependencyProperty FlagsProperty
return DependencyProperty

ValueProperty public static property

public static DependencyProperty ValueProperty
return DependencyProperty