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