Application.ColorMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the default color mode (dark mode) for the application.
public:
static property System::Windows::Forms::SystemColorMode ColorMode { System::Windows::Forms::SystemColorMode get(); };
[System.Diagnostics.CodeAnalysis.Experimental("WFO5001", UrlFormat="https://aka.ms/winforms-warnings/{0}")]
public static System.Windows.Forms.SystemColorMode ColorMode { get; }
[<System.Diagnostics.CodeAnalysis.Experimental("WFO5001", UrlFormat="https://aka.ms/winforms-warnings/{0}")>]
static member ColorMode : System.Windows.Forms.SystemColorMode
Public Shared ReadOnly Property ColorMode As SystemColorMode
Property Value
- Attributes
Remarks
This is the SystemColorMode; which either has been set by SetColorMode(SystemColorMode) or its default value Classic. If it has been set to System, then the actual color mode is determined by the system settings (which can be retrieved by the static (shared in VB) SystemColorMode property.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.