Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MessageBox Class / ShowDialog Method


In This Topic
    ShowDialog Method (MessageBox)
    In This Topic
    Displays the MessageBox window and returns only when this MessageBox closes.
    Syntax
    'Declaration
     
    Public Function ShowDialog() As Nullable(Of Boolean)
    'Usage
     
    Dim instance As MessageBox
    Dim value As Nullable(Of Boolean)
     
    value = instance.ShowDialog()
    public Nullable<bool> ShowDialog()
    Remarks
    This method is not intended to be called while displaying a MessageBox inside a WindowContainer. Use ShowMessageBox instead.
    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