Events

Events list

RadOutlookBar exposes the following events:

  • SelectionChanged - raised when the selected item is changed. The SelectionChanged event handler receives two arguments:

    • The sender argument contains the RadOutlookBar.
    • The second argument is RadSelectionChangedEventArgs containing all additional information about the event:
      • AddedItems - an IList collection of the selected items
      • RemovedItems - an IList collection of the unselected items
  • PreviewSelectionChanged - raised before the selected item is change allowing the user to cancel the selection. The arguments of the PreviewSelectionChanged handler are the same as for the SelectionChanged

  • ItemPositionChanged - raised when item has changed its position - for example when an item goes to the Minimized area from the Active area. The ItemPositionChanged event handler receives two arguments:

    • The sender argument contains the RadOutlookBar.
    • The second argument is PositionChangedEventArgs containing all additional information about the event:
      • OldPosition - an OutlookBarItemPosition enum value containing the old position
      • NewPosition- an OutlookBarItemPosition enum value containing the new position
  • DropDownOpened - raised when the overflow dropdown has been opened. The DropDownOpened event handler receives two arguments:

    • The sender argument contains the RadOutlookBar.
    • The second argument is Telerik.Windows.Controls.DropDownEventArgs containing all additional information about the event:
      • DropDownItemsSource - an IList collection of the items in the drop down
  • DropDownClosed - raised when the overflow dropdown has been closed. The DropDownClosed event handler receives two arguments:

    • The sender argument contains the RadOutlookBar.
    • The second argument is Telerik.Windows.Controls.DropDownEventArgs containing all additional information about the event:
      • DropDownItemsSource - an IList collection of the items in the drop down
  • Minimized - raised when the RadOutlookBar is minimized. The Minimized event handler receives two arguments:

    • The sender argument contains the RadOutlookBar.
    • The second argument is RoutedEventArgs containing all additional information about the event
  • Restored - raised when the RadOutlookBar is maximized (restored). The Restored event handler receives two arguments:

    • The sender argument contains the RadOutlookBar.
    • The second argument is RoutedEventArgs containing all additional information about the event
In this article