Ejemplo n.º 1
0
 public static string GetTag(CommandDecorator source)
 {
     return((string)source.GetValue(TagProperty));
 }
Ejemplo n.º 2
0
 public static void SetTag(CommandDecorator source, string value)
 {
     source.SetValue(TagProperty, value);
 }
Ejemplo n.º 3
0
 public static CommandPhase GetPhase(CommandDecorator source)
 {
     return((CommandPhase)source.GetValue(PhaseProperty));
 }
Ejemplo n.º 4
0
 public static void SetPhase(CommandDecorator source, CommandPhase value)
 {
     source.SetValue(PhaseProperty, value);
 }
Ejemplo n.º 5
0
 public static void SetCommand(CommandDecorator source, ICommand value)
 {
     source.SetValue(CommandProperty, value);
 }
Ejemplo n.º 6
0
 public static ICommand GetCommand(CommandDecorator source)
 {
     return((ICommand)source.GetValue(CommandProperty));
 }
Ejemplo n.º 7
0
 private static void RemoveDecorator(CommandDecorator commandDecorator)
 {
     commandDecorator.Detach();
 }
Ejemplo n.º 8
0
 private static void AddDecorator(CommandDecorator commandDecorator)
 {
     commandDecorator.Attach();
 }
Ejemplo n.º 9
0
 public static void SetDecorator(DependencyObject source, CommandDecorator value)
 {
     source.SetValue(DecoratorProperty, value);
 }