[This is preliminary documentation and is subject to change.]

Gets or sets value indicating if dialog can be closed without clicking any of buttons

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[DefaultValueAttribute(true)]
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)]
public bool AllowClose { get; set; }
Visual Basic
<DefaultValueAttribute(True)> _
<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)> _
Public Property AllowClose As Boolean
	Get
	Set
Visual C++
[DefaultValueAttribute(true)]
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories::Behavior)]
public:
property bool AllowClose {
	bool get ();
	void set (bool value);
}
F#
[<DefaultValueAttribute(true)>]
[<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)>]
member AllowClose : bool with get, set
JScript
function get AllowClose () : boolean
function set AllowClose (value : boolean)

Remarks

This does not affacet possibility to close message box programatically using the Close()()()() method.

See Also