14 references to FormCornerPreference
System.Windows.Forms (14)
System\Windows\Forms\Form.cs (14)
2181
[DefaultValue(
FormCornerPreference
.Default)]
2187
public
FormCornerPreference
FormCornerPreference
2189
get => Properties.GetValueOrDefault(s_propFormCornerPreference,
FormCornerPreference
.Default);
2199
FormCornerPreference
.Default => value,
2200
FormCornerPreference
.DoNotRound => value,
2201
FormCornerPreference
.Round => value,
2202
FormCornerPreference
.RoundSmall => value,
2206
Properties.AddOrRemoveValue(s_propFormCornerPreference, value, defaultValue:
FormCornerPreference
.Default);
2234
private unsafe void SetFormCornerPreferenceInternal(
FormCornerPreference
cornerPreference)
2239
FormCornerPreference
.Default => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_DEFAULT,
2240
FormCornerPreference
.DoNotRound => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_DONOTROUND,
2241
FormCornerPreference
.Round => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_ROUND,
2242
FormCornerPreference
.RoundSmall => DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_ROUNDSMALL,
4158
if (Properties.TryGetValue(s_propFormCornerPreference, out
FormCornerPreference
? cornerPreference))