Spread WPF 18
GrapeCity.Wpf.SpreadSheet.Dialogs Namespace / IDialog Interface / ShowDialog Method
The x-coorinate of the newly window. Use System.Double.NaN to align at the center of owner window.
The y-coorinate of the newly window. Use System.Double.NaN to align at the middle of owner window.


In This Topic
    ShowDialog Method
    In This Topic
    Opens a window and returns only when the newly opened window is closed.
    Syntax
    'Declaration
     
    Function ShowDialog( _
       Optional ByVal x As Double, _
       Optional ByVal y As Double _
    ) As Boolean
    'Usage
     
    Dim instance As IDialog
    Dim x As Double
    Dim y As Double
    Dim value As Boolean
     
    value = instance.ShowDialog(x, y)
    bool ShowDialog( 
       double x,
       double y
    )

    Parameters

    x
    The x-coorinate of the newly window. Use System.Double.NaN to align at the center of owner window.
    y
    The y-coorinate of the newly window. Use System.Double.NaN to align at the middle of owner window.

    Return Value

    true if user select OK; otherwise, false.
    See Also