51 references to RenderScope
PresentationFramework (51)
System\Windows\Controls\Primitives\TextBoxBase.cs (11)
1047
Invariant.Assert(this.
RenderScope
is IScrollInfo);
1050
((IScrollInfo)this.
RenderScope
).MouseWheelUp();
1054
((IScrollInfo)this.
RenderScope
).MouseWheelDown();
1530
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1537
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1539
position = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, snapToText);
1577
if (TextEditor.GetTextView(this.
RenderScope
).Validate(position))
1580
rect = TextEditor.GetTextView(this.
RenderScope
).GetRectangleFromTextPosition(position);
1584
GeneralTransform transform = this.TransformToDescendant(this.
RenderScope
);
1669
Visual visual = this.
RenderScope
;
2204
var textBoxView = textBoxBase?.
RenderScope
as TextBoxView;
System\Windows\Controls\RichTextBox.cs (7)
203
if (this.
RenderScope
== null)
408
UIElement renderScope = this.
RenderScope
;
758
if (this.
RenderScope
== null)
777
this.
RenderScope
.ClearValue(FlowDocumentView.WidthProperty);
780
this.
RenderScope
.ClearValue(FrameworkElement.HorizontalAlignmentProperty);
786
if (this.
RenderScope
.HorizontalAlignment != HorizontalAlignment.Stretch)
788
this.
RenderScope
.HorizontalAlignment = HorizontalAlignment.Stretch;
System\Windows\Controls\TextBox.cs (33)
201
if (this.
RenderScope
== null)
229
if (this.
RenderScope
== null)
253
if (this.
RenderScope
== null)
266
TextBoxView textboxView = (TextBoxView)this.
RenderScope
;
284
if (this.
RenderScope
== null)
315
if (this.
RenderScope
== null)
337
if (this.
RenderScope
== null)
342
height = ((IScrollInfo)this.
RenderScope
).ExtentHeight;
360
if (this.
RenderScope
== null)
372
this.
RenderScope
.BringIntoView(rect);
388
if (this.
RenderScope
== null)
906
if (this.
RenderScope
== null)
1016
if (this.
RenderScope
!= null)
1029
((TextBoxView)this.
RenderScope
).Remeasure();
1034
((TextBoxView)this.
RenderScope
).Rerender();
1137
if (this.
RenderScope
== null)
1404
if (this.
RenderScope
== null)
1425
if (this.
RenderScope
== null)
1439
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1441
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1442
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1454
if (this.
RenderScope
== null)
1468
if (TextEditor.GetTextView(this.
RenderScope
).Validate(point))
1470
textPointer = (TextPointer)TextEditor.GetTextView(this.
RenderScope
).GetTextPositionFromPoint(point, /* snap to text */ true);
1471
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;