Partager via


XRSizeChangedEventArgs (Compact 2013)

3/28/2014

This structure contains event data for the SizeChanged event that a UI element raises when its size changes.

Syntax

struct XRSizeChangedEventArgs : XRRoutedEventArgs{
  XRSize    PreviousSize;
  XRSize    NewSize;
};

Inheritance Hierarchy

XREventArgs

    XRRoutedEventArgs

        XRSizeChangedEventArgs

Members

  • PreviousSize
    XRSize structure that describes the previous height and width dimensions of this UI element.
  • NewSize
    XRSize structure that describes the new height and width dimensions of this UI element.
  • pSource
    Points to an IXRDependencyObject object that represents the source. This is the first object that raised the routed event. Inherited from XRRoutedEventArgs.
  • Size
    Indicates the size, in bytes, of this structure. Inherited from XREventArgs.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures
IXRFrameworkElement::AddSizeChangedEventHandler