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