FrameworkElement.MeasureCore Method
Assembly: PresentationFramework (in presentationframework.dll)
protected final Size MeasureCore ( Size availableSize )
protected override final function MeasureCore ( availableSize : Size ) : Size
You cannot use methods in XAML.
Parameters
- availableSize
The available size that the parent element can give to the child elements.
Return Value
The desired size of this element in layout.This method overrides UIElement.MeasureCore to connect the WPF core-level and WPF framework-level layout measure implementations. The FrameworkElement implementation seals the method. To adjust the measure pass layout behavior of any element that builds on the WPF framework-level, override MeasureOverride instead. To adjust the measure pass layout behavior of an element that deliberately does not build on the WPF framework-level or use FrameworkElement, override UIElement.MeasureCore.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Reference
FrameworkElement ClassFrameworkElement Members
System.Windows Namespace