TextBlock.GetRectanglesCore(ContentElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a read-only collection of bounding rectangles for a specified ContentElement.
protected:
virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Rect> ^ GetRectanglesCore(System::Windows::ContentElement ^ child);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect> GetRectanglesCore (System.Windows.ContentElement child);
abstract member GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
override this.GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
Protected Overridable Function GetRectanglesCore (child As ContentElement) As ReadOnlyCollection(Of Rect)
Parameters
- child
- ContentElement
A ContentElement for which to generate and return a collection of bounding rectangles.
Returns
A read-only collection of bounding rectangles for the specified ContentElement.
Exceptions
child
is null
.
Remarks
Each bounding rectangle in the collection corresponds to a line of content in the ContentElement.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.