Application Properties
.NET Framework 4.5
The Application type exposes the following members.
| Name | Description | |
|---|---|---|
|
AllowQuit | Gets a value indicating whether the caller can quit this application. |
|
CommonAppDataPath | Gets the path for the application data that is shared among all users. |
|
CommonAppDataRegistry | Gets the registry key for the application data that is shared among all users. |
|
CompanyName | Gets the company name associated with the application. |
|
CurrentCulture | Gets or sets the culture information for the current thread. |
|
CurrentInputLanguage | Gets or sets the current input language for the current thread. |
|
ExecutablePath | Gets the path for the executable file that started the application, including the executable name. |
|
LocalUserAppDataPath | Gets the path for the application data of a local, non-roaming user. |
|
MessageLoop | Gets a value indicating whether a message loop exists on this thread. |
|
OpenForms | Gets a collection of open forms owned by the application. |
|
ProductName | Gets the product name associated with this application. |
|
ProductVersion | Gets the product version associated with this application. |
|
RenderWithVisualStyles | Gets a value specifying whether the current application is drawing controls with visual styles. |
|
SafeTopLevelCaptionFormat | Gets or sets the format string to apply to top-level window captions when they are displayed with a warning banner. |
|
StartupPath | Gets the path for the executable file that started the application, not including the executable name. |
|
UserAppDataPath | Gets the path for the application data of a user. |
|
UserAppDataRegistry | Gets the registry key for the application data of a user. |
|
UseWaitCursor | Gets or sets whether the wait cursor is used for all open forms of the application. |
|
VisualStyleState | Gets a value that specifies how visual styles are applied to application windows. |