InfoConnect API Guide
Attachmate.Reflection.UserInterface Namespace / IView Interface / WindowState Property


In This Topic
    WindowState Property (IView)
    In This Topic
    Gets or sets the window state of the view.
    Syntax
    'Declaration
     
    
    Property WindowState As FormWindowState
    'Usage
     
    
    Dim instance As IView
    Dim value As FormWindowState
     
    instance.WindowState = value
     
    value = instance.WindowState
    FormWindowState WindowState {get; set;}
    Exceptions
    ExceptionDescription
    This exception is thrown when WindowState is used while the UI is configured for a mode not supported. Only Ribbon mode in window view mode and Classic MDI mode are supported.
    Remarks
    This property is only supported for the Ribbon and Classic MDI UI modes. For Ribbon, the documents must be arranged as windows (DocumentViewLayout.Windowed).
    See Also