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