@@ -2183,7 +2183,6 @@ protected override void SetVisibleCore(bool value)
2183
2183
[ SRDescription ( nameof ( SR . FormCornerPreferenceDescr ) ) ]
2184
2184
[ Browsable ( false ) ]
2185
2185
[ DesignerSerializationVisibility ( DesignerSerializationVisibility . Hidden ) ]
2186
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2187
2186
public FormCornerPreference FormCornerPreference
2188
2187
{
2189
2188
get => Properties . GetValueOrDefault ( s_propFormCornerPreference , FormCornerPreference . Default ) ;
@@ -2221,7 +2220,6 @@ public FormCornerPreference FormCornerPreference
2221
2220
/// <param name="e">
2222
2221
/// An <see cref="EventArgs"/> that contains the event data, in this case empty.
2223
2222
/// </param>
2224
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2225
2223
protected virtual void OnFormCornerPreferenceChanged ( EventArgs e )
2226
2224
{
2227
2225
if ( Events [ s_formCornerPreferenceChanged ] is EventHandler eventHandler )
@@ -2230,9 +2228,7 @@ protected virtual void OnFormCornerPreferenceChanged(EventArgs e)
2230
2228
}
2231
2229
}
2232
2230
2233
- #pragma warning disable WFO5001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
2234
2231
private unsafe void SetFormCornerPreferenceInternal ( FormCornerPreference cornerPreference )
2235
- #pragma warning restore WFO5001
2236
2232
{
2237
2233
DWM_WINDOW_CORNER_PREFERENCE dwmCornerPreference = cornerPreference switch
2238
2234
{
@@ -2275,7 +2271,6 @@ private unsafe void SetFormCornerPreferenceInternal(FormCornerPreference cornerP
2275
2271
[ SRDescription ( nameof ( SR . FormBorderColorDescr ) ) ]
2276
2272
[ Browsable ( false ) ]
2277
2273
[ DesignerSerializationVisibility ( DesignerSerializationVisibility . Hidden ) ]
2278
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2279
2274
public Color FormBorderColor
2280
2275
{
2281
2276
get => Properties . GetValueOrDefault ( s_propFormBorderColor , Color . Empty ) ;
@@ -2303,7 +2298,6 @@ public Color FormBorderColor
2303
2298
/// <param name="e">
2304
2299
/// An <see cref="EventArgs"/> that contains the event data, in this case empty.
2305
2300
/// </param>
2306
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2307
2301
protected virtual void OnFormBorderColorChanged ( EventArgs e )
2308
2302
{
2309
2303
if ( Events [ s_formBorderColorChanged ] is EventHandler eventHandler )
@@ -2337,7 +2331,6 @@ protected virtual void OnFormBorderColorChanged(EventArgs e)
2337
2331
[ SRDescription ( nameof ( SR . FormCaptionBackColorDescr ) ) ]
2338
2332
[ Browsable ( false ) ]
2339
2333
[ DesignerSerializationVisibility ( DesignerSerializationVisibility . Hidden ) ]
2340
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2341
2334
public Color FormCaptionBackColor
2342
2335
{
2343
2336
get => Properties . GetValueOrDefault ( s_propFormCaptionBackColor , Color . Empty ) ;
@@ -2366,7 +2359,6 @@ public Color FormCaptionBackColor
2366
2359
/// <param name="e">
2367
2360
/// An <see cref="EventArgs"/> that contains the event data, in this case empty.
2368
2361
/// </param>
2369
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2370
2362
protected virtual void OnFormCaptionBackColorChanged ( EventArgs e )
2371
2363
{
2372
2364
if ( Events [ s_formCaptionBackColorChanged ] is EventHandler eventHandler )
@@ -2400,7 +2392,6 @@ protected virtual void OnFormCaptionBackColorChanged(EventArgs e)
2400
2392
[ SRDescription ( nameof ( SR . FormCaptionTextColorDescr ) ) ]
2401
2393
[ Browsable ( false ) ]
2402
2394
[ DesignerSerializationVisibility ( DesignerSerializationVisibility . Hidden ) ]
2403
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2404
2395
public Color FormCaptionTextColor
2405
2396
{
2406
2397
get => Properties . GetValueOrDefault ( s_propFormCaptionTextColor , Color . Empty ) ;
@@ -2429,7 +2420,6 @@ public Color FormCaptionTextColor
2429
2420
/// <param name="e">
2430
2421
/// An <see cref="EventArgs"/> that contains the event data, in this case empty.
2431
2422
/// </param>
2432
- [ Experimental ( DiagnosticIDs . ExperimentalDarkMode , UrlFormat = DiagnosticIDs . UrlFormat ) ]
2433
2423
protected virtual void OnFormCaptionTextColorChanged ( EventArgs e )
2434
2424
{
2435
2425
if ( Events [ s_formCaptionTextColorChanged ] is EventHandler eventHandler )
0 commit comments