Gets or sets the number of milliseconds the control will remain visible.
'Declaration
Public Property DisplayTime As TimeSpan
'Usage
Dim instance As MaterialToast
Dim value As TimeSpan
instance.DisplayTime = value
value = instance.DisplayTime
Property Value
A
TimeSpan value representing the number of milliseconds the control will remain visible. A
DisplayTime of 0 will keep the control visible until an action is done to close it.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2