51 references to RenderScope
PresentationFramework (51)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (11)
1082
Invariant.Assert(this.
RenderScope
is IScrollInfo);
1085
((IScrollInfo)this.
RenderScope
).MouseWheelUp();
1089
((IScrollInfo)this.
RenderScope
).MouseWheelDown();
1565
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1572
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1574
position = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, snapToText);
1615
if (TextEditor.GetTextView(this.
RenderScope
).Validate(position))
1618
rect = TextEditor.GetTextView(this.
RenderScope
).GetRectangleFromTextPosition(position);
1622
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1707
Visual visual = this.
RenderScope
;
2249
var textBoxView = textBoxBase?.
RenderScope
as TextBoxView;
src\Framework\System\Windows\Controls\RichTextBox.cs (7)
215
if (this.
RenderScope
== null)
423
UIElement renderScope = this.
RenderScope
;
776
if (this.
RenderScope
== null)
795
this.
RenderScope
.ClearValue(FlowDocumentView.WidthProperty);
798
this.
RenderScope
.ClearValue(FrameworkElement.HorizontalAlignmentProperty);
804
if (this.
RenderScope
.HorizontalAlignment != HorizontalAlignment.Stretch)
806
this.
RenderScope
.HorizontalAlignment = HorizontalAlignment.Stretch;
src\Framework\System\Windows\Controls\TextBox.cs (33)
221
if (this.
RenderScope
== null)
249
if (this.
RenderScope
== null)
275
if (this.
RenderScope
== null)
290
TextBoxView textboxView = (TextBoxView)this.
RenderScope
;
308
if (this.
RenderScope
== null)
341
if (this.
RenderScope
== null)
363
if (this.
RenderScope
== null)
368
height = ((IScrollInfo)this.
RenderScope
).ExtentHeight;
386
if (this.
RenderScope
== null)
400
this.
RenderScope
.BringIntoView(rect);
416
if (this.
RenderScope
== null)
948
if (this.
RenderScope
== null)
1014
if (this.
RenderScope
!= null)
1027
((TextBoxView)this.
RenderScope
).Remeasure();
1032
((TextBoxView)this.
RenderScope
).Rerender();
1135
if (this.
RenderScope
== null)
1403
if (this.
RenderScope
== null)
1424
if (this.
RenderScope
== null)
1438
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1440
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1441
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1453
if (this.
RenderScope
== null)
1467
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1469
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1470
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
1796
if (this.
RenderScope
== null)
1834
if (this.
RenderScope
== null)
1843
RenderScope
.ClearValue(MinHeightProperty);
1844
RenderScope
.ClearValue(MaxHeightProperty);
1851
if (MinLines > 1 &&
RenderScope
.MinHeight != value)
1853
RenderScope
.MinHeight = value;
1858
if (MaxLines < Int32.MaxValue &&
RenderScope
.MaxHeight != value)
1860
RenderScope
.MaxHeight = value;