Share via


XRSingleSelectionChangedEventArgs (Compact 2013)

3/28/2014

This structure provides data about which item changed for the SingleSelectionChanged event raised by an IXRSelector control.

Syntax

struct XRSingleSelectionChangedEventArgs : XRRoutedEventArgs{
  XRValue RemovedItem;
  XRValue AddedItem;
};

Inheritance Hierarchy

     XRRoutedEventArgs

          XRSelectionChangedEventArgs

Members

  • RemovedItem
    A previously selected item in the control that lost the selection.
  • AddedItem
    A newly selected item that is selected in the control.
  • 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,

Remarks

A selection change can occur through user interaction or when other values are set in code, such as IXRTextBox::SetSelectedText.

.NET Framework Equivalent

System.Windows.Controls.SelectionChangedEventArgs

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures