Telerik UI for Windows Phone by Progress

This topic covers the specific events exposed by the RadWindow control.

The RadWindow control raises the following specific events:

  • ApplicationBarButtonClick - occurs when a button from the ApplicationBarInfo object gets clicked. The event handler receives two arguments:

    • The sender argument contains the RadWindow instance. This argument is of type object, but can be cast to the RadWindow type.
    • An ApplicationBarButtonClickedEventArgs object.
  • WindowClosed - occurs after the RadWindow has been closed. The event handler receives two arguments:

    • The sender argument contains the RadWindow instance. This argument is of type object, but can be cast to the RadWindow type.
    • An EventArgs object.
  • WindowClosing - occurs before the RadWindow gets closed. The event handler receives two arguments:

    • The sender argument contains the RadWindow instance. This argument is of type object, but can be cast to the RadWindow type.
    • CancelEventArgs object. The cancel event args have a Cancel property which when set to true, prevents the window from closing.

      It is important to note that setting the Cancel property to true has no effect when the window is being closed because its owner page is unloaded, for

      example when navigating to a different page.

  • WindowOpened - occurs after the RadWindow has been opened. The event handler receives two arguments:

    • The sender argument contains the RadWindow instance. This argument is of type object, but can be cast to the RadWindow type.
    • An EventArgs object.
  • WindowOpening - occurs before the RadWindow gets opened. The event handler receives two arguments:

    • The sender argument contains the RadWindow instance. This argument is of type object, but can be cast to the RadWindow type.
    • CancelEventArgs object.