예제 #1
0
 /// <summary>
 /// Fires when the property value changes
 /// </summary>
 /// <param name="d">Reference to the object the value changed on</param>
 /// <param name="e">Event args</param>
 private static void OnPointingDeviceInputModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     _mostRecentPointingDeviceInputMode = (PointingDeviceInputMode)e.NewValue;
 }
예제 #2
0
 /// <summary>
 /// Fires when the property value changes
 /// </summary>
 /// <param name="d">Reference to the object the value changed on</param>
 /// <param name="e">Event args</param>
 private static void OnPointingDeviceInputModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     _mostRecentPointingDeviceInputMode = (PointingDeviceInputMode)e.NewValue;
 }
예제 #3
0
 /// <summary>
 /// Indicates the current input mode
 /// </summary>
 /// <remarks>This property should never be set manually. It is auto-updated if UpdatePointingDeviceInputMode is set to true.</remarks>
 public static void SetPointingDeviceInputMode(DependencyObject d, PointingDeviceInputMode value)
 {
     d.SetValue(PointingDeviceInputModeProperty, value);
 }
예제 #4
0
 /// <summary>
 /// Indicates the current input mode
 /// </summary>
 /// <remarks>This property should never be set manually. It is auto-updated if UpdatePointingDeviceInputMode is set to true.</remarks>
 public static void SetPointingDeviceInputMode(DependencyObject d, PointingDeviceInputMode value)
 {
     d.SetValue(PointingDeviceInputModeProperty, value);
 }