1 write to _provider
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
45
_provider
= provider;
78 references to _provider
UIAutomationClientSideProviders (78)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (78)
60
return new WindowsEditBoxRange(
_provider
, Start, End);
83
Misc.SetFocus(
_provider
._hwnd);
102
string text =
_provider
.GetText();
139
if (
_provider
.GetLineCount() != 1)
141
int startLine =
_provider
.LineFromChar(Start);
142
int endLine =
_provider
.LineFromChar(End);
144
MoveTo(
_provider
.LineIndex(startLine),
_provider
.LineIndex(endLine + 1));
148
MoveTo(0,
_provider
.GetTextLength());
158
string text =
_provider
.GetText();
173
MoveTo(0,
_provider
.GetTextLength());
194
return val.Equals(targetAttribute) ? new WindowsEditBoxRange(
_provider
, Start, End) : null;
202
string rangeText =
_provider
.GetText();
217
return i >= 0 ? new WindowsEditBoxRange(
_provider
, Start + i, Start + i + text.Length) : null;
238
string text =
_provider
.GetText();
245
if (!Misc.MapWindowPoints(
_provider
.WindowHandle, IntPtr.Zero, ref w32point, 1))
252
Rect clippingRectangle =
_provider
.GetRect();
257
if (
_provider
.IsMultiline)
268
Point startPoint =
_provider
.PosFromChar(Start);
269
Point endPoint =
_provider
.PosFromCharUR(End - 1, text);
290
return
_provider
;
297
string text =
_provider
.GetText();
304
Misc.SetFocus(
_provider
._hwnd);
358
Misc.SetFocus(
_provider
._hwnd);
422
Misc.SetFocus(
_provider
._hwnd);
441
Misc.SetFocus(
_provider
._hwnd);
443
_provider
.SetSel(Start, End);
458
Misc.SetFocus(
_provider
._hwnd);
462
if (
_provider
.IsMultiline)
468
newFirstLine =
_provider
.LineFromChar(Start);
473
Math.Max(0,
_provider
.LineFromChar(End) -
_provider
.LinesPerPage() + 1);
476
_provider
.LineScroll(Start, newFirstLine -
_provider
.GetFirstVisibleLine());
479
else if (
_provider
.IsScrollable)
481
Misc.SetFocus(
_provider
._hwnd);
485
_provider
.GetVisibleRangePoints(out visibleStart, out visibleEnd);
487
if (Misc.IsReadingRTL(
_provider
._hwnd))
499
_provider
.GetVisibleRangePoints(out visibleStart, out visibleEnd);
514
_provider
.GetVisibleRangePoints(out visibleStart, out visibleEnd);
609
rval = GetCapStyle(
_provider
.WindowStyle);
613
rval = GetFontName(
_provider
.GetLogfont());
617
rval = GetFontSize(
_provider
.GetLogfont());
621
rval = GetFontWeight(
_provider
.GetLogfont());
629
rval = GetHorizontalTextAlignment(
_provider
.WindowStyle);
633
rval = GetItalic(
_provider
.GetLogfont());
641
rval = GetStrikethroughStyle(
_provider
.GetLogfont());
645
rval = GetUnderlineStyle(
_provider
.GetLogfont());
658
int height = Math.Abs(
_provider
.GetLogfont().lfHeight);;
664
int startLine =
_provider
.LineFromChar(start);
665
int endLine =
_provider
.LineFromChar(end - 1);
669
int firstVisibleLine =
_provider
.GetFirstVisibleLine();
673
start =
_provider
.LineIndex(startLine);
677
int lastVisibleLine = firstVisibleLine +
_provider
.LinesPerPage() - 1;
681
end =
_provider
.LineIndex(endLine) - 1;
686
int nextLineIndex =
_provider
.LineIndex(startLine);
693
startPoint =
_provider
.PosFromChar(start);
697
startPoint =
_provider
.PosFromChar(nextLineIndex);
704
endPoint =
_provider
.PosFromCharUR(end-1, text);
708
nextLineIndex =
_provider
.LineIndex(i + 1);
709
endPoint =
_provider
.PosFromChar(nextLineIndex - 1);
751
return
_provider
.IsReadOnly();
824
int limit =
_provider
.GetTextLength() ;
836
string text =
_provider
.GetText();
867
int line =
_provider
.LineFromChar(index);
871
int lineMax =
_provider
.GetLineCount();
877
index =
_provider
.LineIndex(line + moved);
882
index =
_provider
.GetTextLength();
892
string text =
_provider
.GetText();
909
int limit =
_provider
.GetTextLength();
935
int limit =
_provider
.GetTextLength();
949
string text =
_provider
.GetText();
980
int line =
_provider
.LineFromChar(index) + 1;
982
int lineMax =
_provider
.GetLineCount();
1008
((lineMax > 1 &&
_provider
.LineIndex(1) == _lineSeparator.Length)
1023
index =
_provider
.LineIndex(line + actualCount) - _lineSeparator.Length;
1032
string text =
_provider
.GetText();
1078
int limit =
_provider
.GetTextLength();