Example #1
0
 internal TextRange2(UIA3Automation automation, UIA.IUIAutomationTextRange2 nativeRange)
     : base(automation, nativeRange)
 {
     NativeRange2 = nativeRange;
 }
Example #2
0
 /// <summary>
 /// Converts a native textrange2 to an <see cref="TextRange2" />
 /// </summary>
 public static TextRange2 NativeToManaged(UIA3Automation automation, UIA.IUIAutomationTextRange2 nativeElement)
 {
     return nativeElement == null ? null : new TextRange2(automation, nativeElement);
 }
Example #3
0
 public static UIA3TextRange2 NativeToManaged(UIA3Automation automation, UIA.IUIAutomationTextRange2 nativeTextRange2)
 {
     return(nativeTextRange2 == null ? null : new UIA3TextRange2(automation, nativeTextRange2));
 }
Example #4
0
 public UIA3TextRange2(UIA3Automation automation, UIA.IUIAutomationTextRange2 nativeRange)
     : base(automation, nativeRange)
 {
     NativeRange2 = nativeRange;
 }