1 instantiation of ClassicBorderStyle
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
90
DefaultConstructor = delegate () { return new Microsoft.Windows.Themes.
ClassicBorderStyle
(); },
80 references to ClassicBorderStyle
PresentationFramework.Classic (80)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (77)
412
if (decorator.BorderStyle !=
ClassicBorderStyle
.Sunken && decorator.BorderStyle !=
ClassicBorderStyle
.RadioButton &&
461
typeof(
ClassicBorderStyle
),
464
ClassicBorderStyle
.Raised,
472
public
ClassicBorderStyle
BorderStyle
474
get { return (
ClassicBorderStyle
) GetValue(BorderStyleProperty); }
481
ClassicBorderStyle
style = (
ClassicBorderStyle
)o;
482
return style ==
ClassicBorderStyle
.None ||
483
style ==
ClassicBorderStyle
.Raised ||
484
style ==
ClassicBorderStyle
.RaisedPressed ||
485
style ==
ClassicBorderStyle
.RaisedFocused ||
486
style ==
ClassicBorderStyle
.Sunken ||
487
style ==
ClassicBorderStyle
.Etched ||
488
style ==
ClassicBorderStyle
.HorizontalLine ||
489
style ==
ClassicBorderStyle
.VerticalLine ||
490
style ==
ClassicBorderStyle
.TabRight ||
491
style ==
ClassicBorderStyle
.TabTop ||
492
style ==
ClassicBorderStyle
.TabLeft ||
493
style ==
ClassicBorderStyle
.TabBottom ||
494
style ==
ClassicBorderStyle
.ThinRaised ||
495
style ==
ClassicBorderStyle
.ThinPressed ||
496
style ==
ClassicBorderStyle
.AltRaised ||
497
style ==
ClassicBorderStyle
.AltPressed ||
498
style ==
ClassicBorderStyle
.RadioButton;
618
case
ClassicBorderStyle
.Raised:
619
case
ClassicBorderStyle
.RaisedPressed:
620
case
ClassicBorderStyle
.RaisedFocused:
622
case
ClassicBorderStyle
.Sunken:
623
case
ClassicBorderStyle
.Etched:
625
case
ClassicBorderStyle
.HorizontalLine:
626
case
ClassicBorderStyle
.VerticalLine:
628
case
ClassicBorderStyle
.TabRight:
629
case
ClassicBorderStyle
.TabLeft:
630
case
ClassicBorderStyle
.TabTop:
631
case
ClassicBorderStyle
.TabBottom:
633
case
ClassicBorderStyle
.None:
634
case
ClassicBorderStyle
.ThinRaised:
635
case
ClassicBorderStyle
.ThinPressed:
637
case
ClassicBorderStyle
.AltRaised:
638
case
ClassicBorderStyle
.AltPressed:
724
ClassicBorderStyle
style = BorderStyle;
725
if (style ==
ClassicBorderStyle
.RaisedPressed ||
726
style ==
ClassicBorderStyle
.ThinPressed ||
727
style ==
ClassicBorderStyle
.AltPressed)
752
ClassicBorderStyle
style = BorderStyle;
762
if (style ==
ClassicBorderStyle
.RaisedFocused || style ==
ClassicBorderStyle
.RaisedPressed)
770
if (borderBrush == ClassicBorderBrush || isTabStyle || style ==
ClassicBorderStyle
.RadioButton)
774
case
ClassicBorderStyle
.Raised:
775
case
ClassicBorderStyle
.RaisedFocused:
779
case
ClassicBorderStyle
.RaisedPressed:
782
case
ClassicBorderStyle
.Sunken:
785
case
ClassicBorderStyle
.Etched:
788
case
ClassicBorderStyle
.HorizontalLine:
791
case
ClassicBorderStyle
.VerticalLine:
794
case
ClassicBorderStyle
.TabLeft:
797
case
ClassicBorderStyle
.TabTop:
800
case
ClassicBorderStyle
.TabRight:
803
case
ClassicBorderStyle
.TabBottom:
806
case
ClassicBorderStyle
.ThinRaised:
809
case
ClassicBorderStyle
.ThinPressed:
812
case
ClassicBorderStyle
.AltRaised:
815
case
ClassicBorderStyle
.AltPressed:
818
case
ClassicBorderStyle
.RadioButton:
1061
private bool IsTabStyle(
ClassicBorderStyle
style)
1063
return style ==
ClassicBorderStyle
.TabLeft ||
1064
style ==
ClassicBorderStyle
.TabTop ||
1065
style ==
ClassicBorderStyle
.TabRight ||
1066
style ==
ClassicBorderStyle
.TabBottom;
1192
private MatrixTransform GetTabTransform(
ClassicBorderStyle
style, double xOffset, double yOffset)
1201
case
ClassicBorderStyle
.TabLeft:
1204
case
ClassicBorderStyle
.TabRight:
1207
case
ClassicBorderStyle
.TabBottom:
1227
dc.PushTransform(GetTabTransform(
ClassicBorderStyle
.TabLeft, bounds.Left, bounds.Top));
1263
dc.PushTransform(GetTabTransform(
ClassicBorderStyle
.TabRight, bounds.Right, bounds.Bottom));
1284
dc.PushTransform(GetTabTransform(
ClassicBorderStyle
.TabBottom, bounds.Right, bounds.Bottom));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (3)
60
TypeConverterType = typeof(Microsoft.Windows.Themes.
ClassicBorderStyle
)
88
typeof(Microsoft.Windows.Themes.
ClassicBorderStyle
))
91
TypeConverterType = typeof(Microsoft.Windows.Themes.
ClassicBorderStyle
),