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