ProcessStartInfo.WindowStyle Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the window state to use when the process is started.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

member WindowStyle : ProcessWindowStyle with get, set

Property Value

Type: System.Diagnostics.ProcessWindowStyle

One of the enumeration values that indicates whether the process is started in a window that is maximized, minimized, normal (neither maximized nor minimized), or not visible. The default is Normal.

Exception Condition

The window style is not one of the ProcessWindowStyle enumeration members.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top