public static void Stretch(UIObject uiObject) { Stretch(uiObject: uiObject, distance: DefaultPinchStretchDistance); }
public static void Stretch(UIObject uiObject, uint distance) { Stretch(uiObject: uiObject, distance: distance, direction: DefaultPinchStretchDirection); }
public static void TwoPointPan(UIObject targetObject, UIObject destinationObject) { TwoPointPan(targetObject: targetObject, destinationObject: destinationObject, acceleration: DefaultTwoPointPanAcceleration); }
public static void Pinch(UIObject uiObject, uint distance, float direction) { Current.Move(point: OffsetPinchPoints(uiObject: uiObject, distance: distance, direction: direction)); Pinch(direction: direction, duration: DefaultPinchStretchDuration, startDistance: distance, endDistance: 0U); }
public static void PressAndDrag(UIObject targetObject, UIObject destinationObject) { PressAndDrag(targetObject: targetObject, destinationObject: destinationObject, dragDuration: DefaultDragDuration); }
public static void TwoPointPressAndHold(UIObject uiObject, uint count) { Current.Move(point: uiObject.GetClickablePoint()); TwoPointPressAndHold(tapCount: count, holdDuration: InputManager.DefaultPressDuration, tapDelta: InputManager.DefaultTapDelta, distance: DefaultTapDistance); }
public static bool Matches(UIObject uiObject, UICondition condition) { Validate.ArgumentNotNull(parameter: uiObject, parameterName: nameof(uiObject)); Validate.ArgumentNotNull(parameter: condition, parameterName: nameof(condition)); return(condition.Matches(element: uiObject.AutomationElement)); }
public static void Rotate(UIObject uiObject, float angle, bool centerOnPoint) { Rotate(uiObject: uiObject, distance: DefaultRotateDistance, angle: angle, centerOnPoint: centerOnPoint); }
public UIObject(UIObject uiObject) { Validate.ArgumentNotNull(parameter: uiObject, parameterName: nameof(uiObject)); Validate.ArgumentNotNull(parameter: uiObject.AutomationElement, parameterName: "uiObject.AutomationElement"); AutomationElement = uiObject.AutomationElement; }
public void ClickDrag(UIObject uiObject) { ClickDrag(button: PointerButtons.Primary, uiObject: uiObject); }
public static void Flick(UIObject targetObject, UIObject destinationObject) { Flick(targetObject: targetObject, destinationObject: destinationObject, acceleration: DefaultFlickAcceleration); }
public static void PressAndHold(UIObject uiObject, uint holdDuration) { Current.Move(point: uiObject.GetClickablePoint()); PressAndHold(holdDuration: holdDuration); }
public static void PressAndHold(UIObject uiObject) { PressAndHold(uiObject: uiObject, holdDuration: DefaultHoldDuration); }
public static void Stretch(UIObject uiObject, uint distance, float direction, bool pivot) { Current.Move(point: uiObject.GetClickablePoint()); Stretch(direction: direction, duration: DefaultPinchStretchDuration, startDistance: 0U, endDistance: distance, pivot: pivot); }
public static void PressAndTap(UIObject uiObject) { Current.Move(point: uiObject.GetClickablePoint()); PressAndTap(tapCount: 1U, tapDuration: DefaultHoldDuration, tapDelta: DefaultTapDelta, distance: DefaultTapDistance); }
public static void Rotate(UIObject uiObject, uint distance, float angle) { Rotate(uiObject: uiObject, distance: distance, angle: angle, centerOnPoint: false); }
public static void TwoPointPressAndHold(UIObject uiObject) { TwoPointPressAndHold(uiObject: uiObject, count: 1U); }
public static ActionResult Invoke(UIObject sender, ActionEventArgs actionInfo) { return(Invoke(sender: sender, actionInfo: actionInfo, overridden: out var _)); }
internal SupportedProperties(UIObject uiObject) { this._uiObject = uiObject; }