Exemple #1
0
 public static UIA3TextRange NativeToManaged(UIA3Automation automation, UIA.IUIAutomationTextRange nativeTextRange)
 {
     return(nativeTextRange == null ? null : new UIA3TextRange(automation, nativeTextRange));
 }
Exemple #2
0
 internal UIA3TextRange(UIA3Automation automation, UIA.IUIAutomationTextRange nativeRange)
 {
     Automation  = automation;
     NativeRange = nativeRange;
 }
Exemple #3
0
 /// <summary>
 /// Converts a native textrange to an <see cref="TextRange" />
 /// </summary>
 public static TextRange NativeToManaged(UIA3Automation automation, UIA.IUIAutomationTextRange nativeElement)
 {
     return nativeElement == null ? null : new TextRange(automation, nativeElement);
 }