Click or drag to resize
DigitalRuneWindowDialogResult Property
Gets or sets the dialog result. This is a game object property.

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public Nullable<bool> DialogResult { get; set; }

Property Value

Type: NullableBoolean
The dialog result.
Remarks

This property is set to when Show(UIControl) is called. Otherwise this property is not changed automatically. It is typically expected that OK buttons set this property to and Cancel buttons set this property to .

Special notes for Windows Universal (UWP):
Usually, the type of this property is a nullable Boolean. In UWP nullable game object properties cannot be used because of a bug in .NET Native. Therefore, the type of this property is not nullable in the UWP build. A possible workaround is to use a different property for the dialog result, e.g. a property that uses returns an integer or an enumeration.

See Also