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