20 references to WindowStyle
PresentationFramework (20)
System\Windows\Window.cs (20)
1427
DependencyProperty.Register("WindowStyle", typeof(
WindowStyle
), typeof(Window),
1429
WindowStyle
.SingleBorderWindow,
1441
public
WindowStyle
WindowStyle
1451
return (
WindowStyle
) GetValue(WindowStyleProperty);
1471
((Window)d).VerifyConsistencyWithAllowsTransparency((
WindowStyle
)value);
2680
if (WindowStyle ==
WindowStyle
.None)
2997
case
WindowStyle
.None:
3001
case
WindowStyle
.SingleBorderWindow:
3005
case
WindowStyle
.ThreeDBorderWindow:
3010
case
WindowStyle
.ToolWindow:
5328
return IsValidWindowStyle((
WindowStyle
)value);
5336
w.OnWindowStyleChanged((
WindowStyle
) e.NewValue);
5339
private void OnWindowStyleChanged(
WindowStyle
windowStyle)
6978
private void VerifyConsistencyWithAllowsTransparency(
WindowStyle
style)
6980
if (AllowsTransparency && style !=
WindowStyle
.None)
7026
private static bool IsValidWindowStyle(
WindowStyle
value)
7028
return value ==
WindowStyle
.None
7029
|| value ==
WindowStyle
.SingleBorderWindow
7030
|| value ==
WindowStyle
.ThreeDBorderWindow
7031
|| value ==
WindowStyle
.ToolWindow;