Click or drag to resize

ButtonDialogResult Attached Property

Associates a dialog result with the button that it's attached to. When the button is clicked, the DialogResult of the Window is set.

Namespace:  TomsToolbox.Wpf.XamlExtensions
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
See GetDialogResult, SetDialogResult

Property Value

Type: NullableBoolean
Remarks
This only has an effect if the window was created using the ShowDialog method.
See Also