System.Windows.Forms.Application: Property Members

The properties of System.Windows.Forms.Application are listed below. For a list of all members, see the Application Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
static
AllowQuitbool.

Gets a value indicating whether the caller can quit this application.

[read-only]
static
CommonAppDataPathstring.

Gets the path for the application data that is shared among all users.

[read-only]
static
CommonAppDataRegistryMicrosoft.Win32.RegistryKey.

Gets the registry key for the application data that is shared among all users.

[read-only]
static
CompanyNamestring.

Gets the company name associated with the application.

static
CurrentCultureSystem.Globalization.CultureInfo.

Gets or sets the culture information for the current thread.

static
CurrentInputLanguageInputLanguage.

Gets or sets the current input language for the current thread.

[read-only]
static
ExecutablePathstring.

Gets the path for the executable file that started the application, including the executable name.

[read-only]
static
LocalUserAppDataPathstring.

Gets the path for the application data of a local, non-roaming user.

[read-only]
static
MessageLoopbool.

Gets a value indicating whether a message loop exists on this thread.

[read-only]
static
OpenFormsFormCollection.

Gets a collection of open forms owned by the application.

[read-only]
static
ProductNamestring.

Gets the product name associated with this application.

[read-only]
static
ProductVersionstring.

Gets the product version associated with this application.

[read-only]
static
RenderWithVisualStylesbool.

Gets a value specifying whether the current application is drawing controls with visual styles.

static
SafeTopLevelCaptionFormatstring.

Gets or sets the format string to apply to top-level window captions when they are displayed with a warning banner.

[read-only]
static
StartupPathstring.

Gets the path for the executable file that started the application, not including the executable name.

[read-only]
static
UserAppDataPathstring.

Gets the path for the application data of a user.

[read-only]
static
UserAppDataRegistryMicrosoft.Win32.RegistryKey.

Gets the registry key for the application data of a user.

static
UseWaitCursorbool.

Gets or sets whether the wait cursor is used for all open forms of the application.

static
VisualStyleStateSystem.Windows.Forms.VisualStyles.VisualStyleState.

Gets a value that specifies how visual styles are applied to application windows.