Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Style keyDescription
DataWindowStyleThe actual window style which can be used to decorate or customize the window itself.
DataWindowButtonContainerStyleThe container that is used for the buttons. This is a WrapPanel, so the styles must match that.
DataWindowButtonStyleThe style for the buttons. By default, the buttons are right aligned and have a fixed size.

Closing the DataWindow with the Escape key

The DataWindow can be configured to close with the Escape key using the CanCloseUsingEscape dependency property (default true). This is useful for when DataWindow is used in e.g. dialogs. When used as the main window, it is advised to set CanCloseUsingEscape=False, as the user can inadvertedly close the application by pressing the Escape key.