Esempio n. 1
0
 /// <summary>
 /// Sets the current panning profile.
 /// </summary>
 /// <param name="element">The <see cref="FrameworkElement"/> to set the property for.</param>
 /// <param name="profile">The panning profile to set as the current one.</param>
 public static void SetPanningProfile(this FrameworkElement element, PanningProfileType profile)
 {
     element.SetValue(PanningProfileProperty, profile);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the current panning profile.
 /// </summary>
 /// <param name="element">The <see cref="FrameworkElement"/> to set the property for.</param>
 /// <param name="profile">The panning profile to set as the current one.</param>
 public static void SetPanningProfile(this FrameworkElement element, PanningProfileType profile)
 {
     element.SetValue(PanningProfileProperty, profile);
 }