AccessBridgeExplorer.ExplorerFormController.GetNodePathAt(System.Drawing.Point)

Here are the examples of the csharp api class AccessBridgeExplorer.ExplorerFormController.GetNodePathAt(System.Drawing.Point) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: access-bridge-explorer
Source File: ExplorerFormController.cs
public void MouseCaptureMove(Point screenPoint) {
      UiAction(() => {
        var nodePath = GetNodePathAt(screenPoint);
        var node = nodePath == null ? null : nodePath.Leaf;
        SetOverlayNode(node, OverlayActivationSource.MouseCapture);
      });
    }

2. Example

Project: access-bridge-explorer
Source File: ExplorerFormController.cs
public void SelectNodeAtPoint(Point screenPoint) {
      UiAction(() => {
        var nodePath = GetNodePathAt(screenPoint);
        if (nodePath == null) {
          LogMessage("No Accessible component found at mouse location {0}", screenPoint);
          return;
        }
        SelectTreeNode(nodePath);
        _view.AccessibilityTree.Focus();
      });
    }