Application.SystemColorMode Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
İşletim sistemi ortamının sistem renk modu ayarını alır.
public:
static property System::Windows::Forms::SystemColorMode SystemColorMode { System::Windows::Forms::SystemColorMode get(); };
public static System.Windows.Forms.SystemColorMode SystemColorMode { get; }
[System.Diagnostics.CodeAnalysis.Experimental("WFO5001", UrlFormat="https://aka.ms/winforms-warnings/{0}")]
public static System.Windows.Forms.SystemColorMode SystemColorMode { get; }
static member SystemColorMode : System.Windows.Forms.SystemColorMode
[<System.Diagnostics.CodeAnalysis.Experimental("WFO5001", UrlFormat="https://aka.ms/winforms-warnings/{0}")>]
static member SystemColorMode : System.Windows.Forms.SystemColorMode
Public Shared ReadOnly Property SystemColorMode As SystemColorMode
Özellik Değeri
- Öznitelikler
Açıklamalar
Renk ayarı işletim sistemi sürümüne ve sistem ayarlarına göre belirlenir. Koyu mod sistem ayarlarında etkinse, Classic renk modu açık, standart renk ayarına eşitse döndürürDark.
SystemColorMode Windows 11 veya sonraki sürümlerde desteklenir.
sistem ayarlarında Windows işletim sistemi High Contrast Mode etkinleştirildiyse SystemColorModes desteklenmez.