LayoutInformation.GetAvailableSize(UIElement) 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 the Size value that was most recently used to measure the specified element.
public:
static Size GetAvailableSize(UIElement ^ element);
static Size GetAvailableSize(UIElement const& element);
public static Size GetAvailableSize(UIElement element);
function getAvailableSize(element)
Public Shared Function GetAvailableSize (element As UIElement) As Size
Parameters
- element
- UIElement
The element for which to return the most recent size.
Returns
The Size given as an argument on the most recent call to measure this element, or a Size of 0,0 if the element has not been measured yet.