Example #1
0
 /// <summary>
 ///   Sets the target of the <see cref="ActionMessage" /> .
 /// </summary>
 /// <param name="d"> The element to attach the target to. </param>
 /// <param name="target"> The target for instances of <see cref="ActionMessage" /> . </param>
 /// <remarks>
 ///   The DataContext will not be set.
 /// </remarks>
 public static void SetTargetWithoutContext(DependencyObject d, object target) {
     d.SetValue(TargetWithoutContextProperty, target);
 }
Example #2
0
 /// <summary>
 ///   Sets the target of the <see cref="ActionMessage" /> .
 /// </summary>
 /// <param name="d"> The element to attach the target to. </param>
 /// <param name="target"> The target for instances of <see cref="ActionMessage" /> . </param>
 /// <remarks>
 ///   The DataContext will not be set.
 /// </remarks>
 public static void SetTargetWithoutContext(DependencyObject d, object target)
 {
     d.SetValue(TargetWithoutContextProperty, target);
 }