51 references to RenderScope
PresentationFramework (51)
System\Windows\Controls\Primitives\TextBoxBase.cs (11)
1056
Invariant.Assert(this.
RenderScope
is IScrollInfo);
1059
((IScrollInfo)this.
RenderScope
).MouseWheelUp();
1063
((IScrollInfo)this.
RenderScope
).MouseWheelDown();
1539
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1546
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1548
position = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, snapToText);
1586
if (TextEditor.GetTextView(this.
RenderScope
).Validate(position))
1589
rect = TextEditor.GetTextView(this.
RenderScope
).GetRectangleFromTextPosition(position);
1593
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1678
Visual visual = this.
RenderScope
;
2213
var textBoxView = textBoxBase?.
RenderScope
as TextBoxView;
System\Windows\Controls\RichTextBox.cs (7)
207
if (this.
RenderScope
== null)
412
UIElement renderScope = this.
RenderScope
;
762
if (this.
RenderScope
== null)
781
this.
RenderScope
.ClearValue(FlowDocumentView.WidthProperty);
784
this.
RenderScope
.ClearValue(FrameworkElement.HorizontalAlignmentProperty);
790
if (this.
RenderScope
.HorizontalAlignment != HorizontalAlignment.Stretch)
792
this.
RenderScope
.HorizontalAlignment = HorizontalAlignment.Stretch;
System\Windows\Controls\TextBox.cs (33)
208
if (this.
RenderScope
== null)
236
if (this.
RenderScope
== null)
260
if (this.
RenderScope
== null)
273
TextBoxView textboxView = (TextBoxView)this.
RenderScope
;
291
if (this.
RenderScope
== null)
322
if (this.
RenderScope
== null)
344
if (this.
RenderScope
== null)
349
height = ((IScrollInfo)this.
RenderScope
).ExtentHeight;
367
if (this.
RenderScope
== null)
379
this.
RenderScope
.BringIntoView(rect);
395
if (this.
RenderScope
== null)
913
if (this.
RenderScope
== null)
1023
if (this.
RenderScope
!= null)
1036
((TextBoxView)this.
RenderScope
).Remeasure();
1041
((TextBoxView)this.
RenderScope
).Rerender();
1144
if (this.
RenderScope
== null)
1411
if (this.
RenderScope
== null)
1432
if (this.
RenderScope
== null)
1446
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1448
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1449
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1461
if (this.
RenderScope
== null)
1475
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1477
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1478
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
1803
if (this.
RenderScope
== null)
1841
if (this.
RenderScope
== null)
1850
RenderScope
.ClearValue(MinHeightProperty);
1851
RenderScope
.ClearValue(MaxHeightProperty);
1858
if (MinLines > 1 &&
RenderScope
.MinHeight != value)
1860
RenderScope
.MinHeight = value;
1865
if (MaxLines < Int32.MaxValue &&
RenderScope
.MaxHeight != value)
1867
RenderScope
.MaxHeight = value;