51 references to RenderScope
PresentationFramework (51)
System\Windows\Controls\Primitives\TextBoxBase.cs (11)
1049
Invariant.Assert(this.
RenderScope
is IScrollInfo);
1052
((IScrollInfo)this.
RenderScope
).MouseWheelUp();
1056
((IScrollInfo)this.
RenderScope
).MouseWheelDown();
1532
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1539
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1541
position = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, snapToText);
1579
if (TextEditor.GetTextView(this.
RenderScope
).Validate(position))
1582
rect = TextEditor.GetTextView(this.
RenderScope
).GetRectangleFromTextPosition(position);
1586
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1671
Visual visual = this.
RenderScope
;
2203
var textBoxView = textBoxBase?.
RenderScope
as TextBoxView;
System\Windows\Controls\RichTextBox.cs (7)
203
if (this.
RenderScope
== null)
410
UIElement renderScope = this.
RenderScope
;
760
if (this.
RenderScope
== null)
779
this.
RenderScope
.ClearValue(FlowDocumentView.WidthProperty);
782
this.
RenderScope
.ClearValue(FrameworkElement.HorizontalAlignmentProperty);
788
if (this.
RenderScope
.HorizontalAlignment != HorizontalAlignment.Stretch)
790
this.
RenderScope
.HorizontalAlignment = HorizontalAlignment.Stretch;
System\Windows\Controls\TextBox.cs (33)
203
if (this.
RenderScope
== null)
231
if (this.
RenderScope
== null)
255
if (this.
RenderScope
== null)
268
TextBoxView textboxView = (TextBoxView)this.
RenderScope
;
286
if (this.
RenderScope
== null)
317
if (this.
RenderScope
== null)
339
if (this.
RenderScope
== null)
344
height = ((IScrollInfo)this.
RenderScope
).ExtentHeight;
362
if (this.
RenderScope
== null)
374
this.
RenderScope
.BringIntoView(rect);
390
if (this.
RenderScope
== null)
908
if (this.
RenderScope
== null)
1018
if (this.
RenderScope
!= null)
1031
((TextBoxView)this.
RenderScope
).Remeasure();
1036
((TextBoxView)this.
RenderScope
).Rerender();
1139
if (this.
RenderScope
== null)
1406
if (this.
RenderScope
== null)
1427
if (this.
RenderScope
== null)
1441
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1443
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1444
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1456
if (this.
RenderScope
== null)
1470
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1472
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1473
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
1798
if (this.
RenderScope
== null)
1836
if (this.
RenderScope
== null)
1845
RenderScope
.ClearValue(MinHeightProperty);
1846
RenderScope
.ClearValue(MaxHeightProperty);
1853
if (MinLines > 1 &&
RenderScope
.MinHeight != value)
1855
RenderScope
.MinHeight = value;
1860
if (MaxLines < Int32.MaxValue &&
RenderScope
.MaxHeight != value)
1862
RenderScope
.MaxHeight = value;