16 references to FormCornerPreference
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
1133
FormCornerPreference
.Round => 4,
1134
FormCornerPreference
.RoundSmall => 3,
System\Windows\Forms\Form.cs (14)
2258
[DefaultValue(
FormCornerPreference
.Default)]
2263
public
FormCornerPreference
FormCornerPreference
2265
get => Properties.GetValueOrDefault(s_propFormCornerPreference,
FormCornerPreference
.Default);
2275
FormCornerPreference
.Default => value,
2276
FormCornerPreference
.DoNotRound => value,
2277
FormCornerPreference
.Round => value,
2278
FormCornerPreference
.RoundSmall => value,
2282
Properties.AddOrRemoveValue(s_propFormCornerPreference, value, defaultValue:
FormCornerPreference
.Default);
2308
private unsafe void SetFormCornerPreferenceInternal(
FormCornerPreference
cornerPreference)
2312
FormCornerPreference
.Default => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_DEFAULT,
2313
FormCornerPreference
.DoNotRound => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_DONOTROUND,
2314
FormCornerPreference
.Round => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_ROUND,
2315
FormCornerPreference
.RoundSmall => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_ROUNDSMALL,
4983
if (Properties.TryGetValue(s_propFormCornerPreference, out
FormCornerPreference
? cornerPreference))