OptionalDataUse DialogClosed.
The same emitter under the old binding name, so a template still binding (dialogClosed) keeps working. Must stay AFTER DialogClosed: class fields initialise in order, and the other way round this captures undefined.
Use DataContextId.
Use DataContextName.
Use DialogHeight.
Use DialogWidth.
Use IsMaximized.
Use CloseDialog.
Use ToggleMaximize.
Enhanced dialog wrapper component for the data context viewer