Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MaterialToast Class / DisplayTime Property


    DisplayTime Property

    Gets or sets the number of milliseconds the control will remain visible.

    Syntax
    '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.
    Requirements

    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

    See Also