Windows.UI.Xaml.UIElement.CapturePointer C# (CSharp) 메소드

CapturePointer() 공개 메소드

public CapturePointer ( [ value ) : bool
value [
리턴 bool
		public extern bool CapturePointer([In] Pointer value);
		public extern void ReleasePointerCapture([In] Pointer value);

Usage Example

 public static void OnPointerPressed(UIElement sender, TouchSliderC slider, PointerRoutedEventArgs e)
 {
     sender.CapturePointer(e.Pointer);
     _lastPoint = e.GetCurrentPoint(slider);
     _isDragActive = true;
     e.Handled = true;
 }
All Usage Examples Of Windows.UI.Xaml.UIElement::CapturePointer