示例#1
0
 /// <summary>
 /// Sets the <see cref="PannableType"/> for the given <see cref="FrameworkElement"/>.
 /// </summary>
 /// <param name="element">The <see cref="FrameworkElement"/> to set the property for.</param>
 /// <param name="value">The <see cref="PannableType"/> value of the property.</param>
 public static void SetPannable(this FrameworkElement element, PannableType value)
 {
     element.SetValue(PannableProperty, value);
 }
示例#2
0
 /// <summary>
 /// Sets the <see cref="PannableType"/> for the given <see cref="FrameworkElement"/>.
 /// </summary>
 /// <param name="element">The <see cref="FrameworkElement"/> to set the property for.</param>
 /// <param name="value">The <see cref="PannableType"/> value of the property.</param>
 public static void SetPannable(this FrameworkElement element, PannableType value)
 {
     element.SetValue(PannableProperty, value);
 }