public static string GetTag(CommandDecorator source) { return((string)source.GetValue(TagProperty)); }
public static void SetTag(CommandDecorator source, string value) { source.SetValue(TagProperty, value); }
public static CommandPhase GetPhase(CommandDecorator source) { return((CommandPhase)source.GetValue(PhaseProperty)); }
public static void SetPhase(CommandDecorator source, CommandPhase value) { source.SetValue(PhaseProperty, value); }
public static void SetCommand(CommandDecorator source, ICommand value) { source.SetValue(CommandProperty, value); }
public static ICommand GetCommand(CommandDecorator source) { return((ICommand)source.GetValue(CommandProperty)); }
private static void RemoveDecorator(CommandDecorator commandDecorator) { commandDecorator.Detach(); }
private static void AddDecorator(CommandDecorator commandDecorator) { commandDecorator.Attach(); }
public static void SetDecorator(DependencyObject source, CommandDecorator value) { source.SetValue(DecoratorProperty, value); }