/// <summary> /// Sets a value specifying whether trace is enabled for the specified trigger /// </summary> /// <param name="trigger"></param> /// <param name="value"></param> public static void SetTraceEnabled(TriggerBase trigger, bool value) { trigger.SetValue(TraceEnabledProperty, value); }
/// <summary> /// Sets the trigger name for the specified trigger. This will be used /// to identify the trigger in the debug output. /// </summary> /// <param name="trigger">The trigger.</param> /// <returns></returns> public static void SetTriggerName(TriggerBase trigger, string value) { trigger.SetValue(TriggerNameProperty, value); }