FrameworkElement.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.
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
protected:
virtual System::Windows::Size ArrangeOverride(System::Windows::Size finalSize);
protected virtual System.Windows.Size ArrangeOverride (System.Windows.Size finalSize);
abstract member ArrangeOverride : System.Windows.Size -> System.Windows.Size
override this.ArrangeOverride : System.Windows.Size -> System.Windows.Size
Protected Overridable Function ArrangeOverride (finalSize As Size) As Size
Parameters
- finalSize
- Size
The final area within the parent that this element should use to arrange itself and its children.
Returns
The actual size used.
Notes to Inheritors
Control authors who want to customize the arrange pass of layout processing should override this method. The implementation pattern should call Arrange(Rect) on each visible child element, and pass the final desired size for each child element as the finalRect
parameter. Parent elements should call Arrange(Rect) on each child, otherwise the child elements will not be rendered.
Many derived classes offer implementations of this method. Prominent ones include: ArrangeOverride(Size), ArrangeOverride(Size) and ArrangeOverride(Size).
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기