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

Gets or sets value indicating 0-based index of button when count-down time is displayed

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

Syntax

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

Remarks

Following values has special meaning:
valueefect
-1Button is chosed automatically depending on CloseResponse property (if there are more buttons with same Result first is used)
< -1Count down time is displayed in message box title
>= Buttons.CountCount down is not displayed
Count down is displayed as time in format h:mm:ss, m:ss or s depending on current value of time remaining (always the shortest possible format is used).

See Also