次の方法で共有


IXRLayoutInformation (Compact 2013)

3/28/2014

This C++ class defines methods that provide additional information about the layout of an element.

Syntax

class IXRLayoutInformation : public IUnknown

Inheritance Hierarchy

IUnknown

     IXRLayoutInformation

Methods

Method

Description

IXRLayoutInformation::GetLayoutClip

Retrieves the visible region of the specified element.

IXRLayoutInformation::GetLayoutSlot

Retrieves the layout slot, or bounding box, that contains the specified element.

Remarks

The IXRLayoutInformation class provides methods to help you determine the physical location of items in the layout of your application. IXRLayoutInformation::GetLayoutSlot and IXRLayoutInformation::GetLayoutClip return information about an element's bounding box and visible region.

When you create a class instance, use an IXRLayoutInformationPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

.NET Framework Equivalent

System.Windows.Controls.Primitives.LayoutInformation

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for UI Element Management