Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.CustomMessageBox.CustomMessageBox Class Reference

Interaction logic for CustomMessageBox.xaml More...

Inheritance diagram for VolumeControl.WPF.CustomMessageBox.CustomMessageBox:
Collaboration diagram for VolumeControl.WPF.CustomMessageBox.CustomMessageBox:

Static Public Member Functions

static ? CustomMessageBoxButton Show (CustomMessageBoxData data)
 Creates & displays a new CustomMessageBox dialog window. More...
 

Properties

CustomMessageBoxData Data [get]
 Gets the CustomMessageBoxData object associated with this CustomMessageBox window. More...
 

Detailed Description

Interaction logic for CustomMessageBox.xaml

Member Function Documentation

◆ Show()

static ? CustomMessageBoxButton VolumeControl.WPF.CustomMessageBox.CustomMessageBox.Show ( CustomMessageBoxData  data)
static

Creates & displays a new CustomMessageBox dialog window.

Parameters
dataThe CustomMessageBoxData instance that defines what is shown in the window.
Returns
The clicked CustomMessageBoxButton instance when the user clicked a button; otherwise, the DefaultResult of the specified data object.
You can convert it to a MessageBoxResult with CustomMessageBoxButton.ToMessageBoxResult(bool).

References VolumeControl.WPF.CustomMessageBox.CustomMessageBoxData.Appearance, VolumeControl.WPF.CustomMessageBox.CustomMessageBox.Data, VolumeControl.WPF.CustomMessageBox.CustomMessageBoxStyle.MaxWidth, and VolumeControl.WPF.CustomMessageBox.CustomMessageBoxStyle.MaxWidthScreenPercentage.

Property Documentation

◆ Data

CustomMessageBoxData VolumeControl.WPF.CustomMessageBox.CustomMessageBox.Data
get

Gets the CustomMessageBoxData object associated with this CustomMessageBox window.

Referenced by VolumeControl.WPF.CustomMessageBox.CustomMessageBox.Show().


The documentation for this class was generated from the following file: