Compartir a través de


XRSelectionChangedEventArgs (Compact 2013)

3/28/2014

This structure provides data about which item changed for the SelectionChanged event raised by an IXRSelector-derived object.

Syntax

struct XRSelectionChangedEventArgs : XRRoutedEventArgs{
  IXRList *pRemovedItemsList;
  IXRList *pAddedItemsList;
};

Inheritance Hierarchy

     XRRoutedEventArgs

          XRSelectionChangedEventArgs

Members

  • pRemovedItemsList
    Pointer to an IXRList object that represents the list of items that were previously selected in the control but from which the selection was removed.
  • pAddedItemsList
    Pointer to an IXRList object that represents the lists that were added to those that are 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.

Both the IXRListBox and the IXRComboBox class inherit from IXRSelector and can raise the SelectionChanged event.

.NET Framework Equivalent

System.Windows.Controls.SelectionChangedEventArgs

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures