TextBlock.ArrangeOverride(Size) 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.
Positions child elements and determines a size for the TextBlock.
protected:
override System::Windows::Size ArrangeOverride(System::Windows::Size arrangeSize);
protected override sealed System.Windows.Size ArrangeOverride (System.Windows.Size arrangeSize);
override this.ArrangeOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides NotOverridable Function ArrangeOverride (arrangeSize As Size) As Size
Parameters
- arrangeSize
- Size
A Size within the hosting parent element that the TextBlock should use to arrange itself and its child elements. Sizing constraints may affect this requested size.
Returns
The actual Size used to arrange the element.
Remarks
This method overrides FrameworkElement.ArrangeOverride.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.