Пример #1
0
 /// <summary>
 ///   Gets the target for instances of <see cref="ActionMessage" /> .
 /// </summary>
 /// <param name="d"> The element to which the target is attached. </param>
 /// <returns> The target for instances of <see cref="ActionMessage" /> </returns>
 public static object GetTargetWithoutContext(DependencyObject d) {
     return d.GetValue(TargetWithoutContextProperty);
 }
Пример #2
0
 /// <summary>
 ///   Gets the target for instances of <see cref="ActionMessage" /> .
 /// </summary>
 /// <param name="d"> The element to which the target is attached. </param>
 /// <returns> The target for instances of <see cref="ActionMessage" /> </returns>
 public static object GetTargetWithoutContext(DependencyObject d)
 {
     return(d.GetValue(TargetWithoutContextProperty));
 }
Пример #3
0
 /// <summary>
 ///   Gets the target for instances of <see cref="ActionMessage" /> .
 /// </summary>
 /// <param name="d"> The element to which the target is attached. </param>
 /// <returns> The target for instances of <see cref="ActionMessage" /> </returns>
 public static object GetTarget(DependencyObject d) {
     return d.GetValue(TargetProperty);
 }
Пример #4
0
 /// <summary>
 ///   Gets the target for instances of <see cref="ActionMessage" /> .
 /// </summary>
 /// <param name="d"> The element to which the target is attached. </param>
 /// <returns> The target for instances of <see cref="ActionMessage" /> </returns>
 public static object GetTarget(DependencyObject d)
 {
     return(d.GetValue(TargetProperty));
 }