Share via


Window.WindowState Property

Returns or sets the state of the window.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property WindowState As XlWindowState
    Get
    Set
'Usage
Dim instance As Window
Dim value As XlWindowState

value = instance.WindowState

instance.WindowState = value
XlWindowState WindowState { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlWindowState

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Excel Namespace