1 write to _provider
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
55
_provider
= provider;
78 references to _provider
UIAutomationClientsideProviders (78)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (78)
70
return new WindowsEditBoxRange(
_provider
, Start, End);
93
Misc.SetFocus(
_provider
._hwnd);
112
string text =
_provider
.GetText();
149
if (
_provider
.GetLineCount() != 1)
151
int startLine =
_provider
.LineFromChar(Start);
152
int endLine =
_provider
.LineFromChar(End);
154
MoveTo(
_provider
.LineIndex(startLine),
_provider
.LineIndex(endLine + 1));
158
MoveTo(0,
_provider
.GetTextLength());
168
string text =
_provider
.GetText();
183
MoveTo(0,
_provider
.GetTextLength());
204
return val.Equals(targetAttribute) ? new WindowsEditBoxRange(
_provider
, Start, End) : null;
224
string rangeText =
_provider
.GetText();
239
return i >= 0 ? new WindowsEditBoxRange(
_provider
, Start + i, Start + i + text.Length) : null;
260
string text =
_provider
.GetText();
267
if (!Misc.MapWindowPoints(
_provider
.WindowHandle, IntPtr.Zero, ref w32point, 1))
274
Rect clippingRectangle =
_provider
.GetRect();
279
if (
_provider
.IsMultiline)
290
Point startPoint =
_provider
.PosFromChar(Start);
291
Point endPoint =
_provider
.PosFromCharUR(End - 1, text);
312
return
_provider
;
319
string text =
_provider
.GetText();
326
Misc.SetFocus(
_provider
._hwnd);
380
Misc.SetFocus(
_provider
._hwnd);
444
Misc.SetFocus(
_provider
._hwnd);
463
Misc.SetFocus(
_provider
._hwnd);
465
_provider
.SetSel(Start, End);
480
Misc.SetFocus(
_provider
._hwnd);
484
if (
_provider
.IsMultiline)
490
newFirstLine =
_provider
.LineFromChar(Start);
495
Math.Max(0,
_provider
.LineFromChar(End) -
_provider
.LinesPerPage() + 1);
498
_provider
.LineScroll(Start, newFirstLine -
_provider
.GetFirstVisibleLine());
501
else if (
_provider
.IsScrollable)
503
Misc.SetFocus(
_provider
._hwnd);
507
_provider
.GetVisibleRangePoints(out visibleStart, out visibleEnd);
509
if (Misc.IsReadingRTL(
_provider
._hwnd))
521
_provider
.GetVisibleRangePoints(out visibleStart, out visibleEnd);
536
_provider
.GetVisibleRangePoints(out visibleStart, out visibleEnd);
631
rval = GetCapStyle(
_provider
.WindowStyle);
635
rval = GetFontName(
_provider
.GetLogfont());
639
rval = GetFontSize(
_provider
.GetLogfont());
643
rval = GetFontWeight(
_provider
.GetLogfont());
651
rval = GetHorizontalTextAlignment(
_provider
.WindowStyle);
655
rval = GetItalic(
_provider
.GetLogfont());
663
rval = GetStrikethroughStyle(
_provider
.GetLogfont());
667
rval = GetUnderlineStyle(
_provider
.GetLogfont());
680
int height = Math.Abs(
_provider
.GetLogfont().lfHeight);;
686
int startLine =
_provider
.LineFromChar(start);
687
int endLine =
_provider
.LineFromChar(end - 1);
691
int firstVisibleLine =
_provider
.GetFirstVisibleLine();
695
start =
_provider
.LineIndex(startLine);
699
int lastVisibleLine = firstVisibleLine +
_provider
.LinesPerPage() - 1;
703
end =
_provider
.LineIndex(endLine) - 1;
708
int nextLineIndex =
_provider
.LineIndex(startLine);
715
startPoint =
_provider
.PosFromChar(start);
719
startPoint =
_provider
.PosFromChar(nextLineIndex);
726
endPoint =
_provider
.PosFromCharUR(end-1, text);
730
nextLineIndex =
_provider
.LineIndex(i + 1);
731
endPoint =
_provider
.PosFromChar(nextLineIndex - 1);
773
return
_provider
.IsReadOnly();
846
int limit =
_provider
.GetTextLength() ;
858
string text =
_provider
.GetText();
889
int line =
_provider
.LineFromChar(index);
893
int lineMax =
_provider
.GetLineCount();
899
index =
_provider
.LineIndex(line + moved);
904
index =
_provider
.GetTextLength();
914
string text =
_provider
.GetText();
931
int limit =
_provider
.GetTextLength();
957
int limit =
_provider
.GetTextLength();
971
string text =
_provider
.GetText();
1002
int line =
_provider
.LineFromChar(index) + 1;
1004
int lineMax =
_provider
.GetLineCount();
1030
((lineMax > 1 &&
_provider
.LineIndex(1) == _lineSeparator.Length)
1045
index =
_provider
.LineIndex(line + actualCount) - _lineSeparator.Length;
1054
string text =
_provider
.GetText();
1100
int limit =
_provider
.GetTextLength();