20 references to WindowStyle
PresentationFramework (20)
System\Windows\Window.cs (20)
1414
DependencyProperty.Register("WindowStyle", typeof(
WindowStyle
), typeof(Window),
1416
WindowStyle
.SingleBorderWindow,
1428
public
WindowStyle
WindowStyle
1438
return (
WindowStyle
) GetValue(WindowStyleProperty);
1458
((Window)d).VerifyConsistencyWithAllowsTransparency((
WindowStyle
)value);
2667
if (WindowStyle ==
WindowStyle
.None)
2984
case
WindowStyle
.None:
2988
case
WindowStyle
.SingleBorderWindow:
2992
case
WindowStyle
.ThreeDBorderWindow:
2997
case
WindowStyle
.ToolWindow:
5315
return IsValidWindowStyle((
WindowStyle
)value);
5323
w.OnWindowStyleChanged((
WindowStyle
) e.NewValue);
5326
private void OnWindowStyleChanged(
WindowStyle
windowStyle)
6965
private void VerifyConsistencyWithAllowsTransparency(
WindowStyle
style)
6967
if (AllowsTransparency && style !=
WindowStyle
.None)
7013
private static bool IsValidWindowStyle(
WindowStyle
value)
7015
return value ==
WindowStyle
.None
7016
|| value ==
WindowStyle
.SingleBorderWindow
7017
|| value ==
WindowStyle
.ThreeDBorderWindow
7018
|| value ==
WindowStyle
.ToolWindow;