20 references to WindowStyle
PresentationFramework (20)
src\Framework\System\Windows\Window.cs (20)
1463
DependencyProperty.Register("WindowStyle", typeof(
WindowStyle
), typeof(Window),
1465
WindowStyle
.SingleBorderWindow,
1477
public
WindowStyle
WindowStyle
1487
return (
WindowStyle
) GetValue(WindowStyleProperty);
1507
((Window)d).VerifyConsistencyWithAllowsTransparency((
WindowStyle
)value);
2719
if (WindowStyle ==
WindowStyle
.None)
3052
case
WindowStyle
.None:
3056
case
WindowStyle
.SingleBorderWindow:
3060
case
WindowStyle
.ThreeDBorderWindow:
3065
case
WindowStyle
.ToolWindow:
5504
return IsValidWindowStyle((
WindowStyle
)value);
5512
w.OnWindowStyleChanged((
WindowStyle
) e.NewValue);
5515
private void OnWindowStyleChanged(
WindowStyle
windowStyle)
7297
private void VerifyConsistencyWithAllowsTransparency(
WindowStyle
style)
7299
if (AllowsTransparency && style !=
WindowStyle
.None)
7350
private static bool IsValidWindowStyle(
WindowStyle
value)
7352
return value ==
WindowStyle
.None
7353
|| value ==
WindowStyle
.SingleBorderWindow
7354
|| value ==
WindowStyle
.ThreeDBorderWindow
7355
|| value ==
WindowStyle
.ToolWindow;