1 instantiation of ClassicBorderStyle
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
85bamlType.DefaultConstructor = 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 && 459typeof(ClassicBorderStyle), 462ClassicBorderStyle.Raised, 470public ClassicBorderStyle BorderStyle 472get { return (ClassicBorderStyle) GetValue(BorderStyleProperty); } 479ClassicBorderStyle style = (ClassicBorderStyle)o; 480return style == ClassicBorderStyle.None || 481style == ClassicBorderStyle.Raised || 482style == ClassicBorderStyle.RaisedPressed || 483style == ClassicBorderStyle.RaisedFocused || 484style == ClassicBorderStyle.Sunken || 485style == ClassicBorderStyle.Etched || 486style == ClassicBorderStyle.HorizontalLine || 487style == ClassicBorderStyle.VerticalLine || 488style == ClassicBorderStyle.TabRight || 489style == ClassicBorderStyle.TabTop || 490style == ClassicBorderStyle.TabLeft || 491style == ClassicBorderStyle.TabBottom || 492style == ClassicBorderStyle.ThinRaised || 493style == ClassicBorderStyle.ThinPressed || 494style == ClassicBorderStyle.AltRaised || 495style == ClassicBorderStyle.AltPressed || 496style == ClassicBorderStyle.RadioButton; 616case ClassicBorderStyle.Raised: 617case ClassicBorderStyle.RaisedPressed: 618case ClassicBorderStyle.RaisedFocused: 620case ClassicBorderStyle.Sunken: 621case ClassicBorderStyle.Etched: 623case ClassicBorderStyle.HorizontalLine: 624case ClassicBorderStyle.VerticalLine: 626case ClassicBorderStyle.TabRight: 627case ClassicBorderStyle.TabLeft: 628case ClassicBorderStyle.TabTop: 629case ClassicBorderStyle.TabBottom: 631case ClassicBorderStyle.None: 632case ClassicBorderStyle.ThinRaised: 633case ClassicBorderStyle.ThinPressed: 635case ClassicBorderStyle.AltRaised: 636case ClassicBorderStyle.AltPressed: 722ClassicBorderStyle style = BorderStyle; 723if (style == ClassicBorderStyle.RaisedPressed || 724style == ClassicBorderStyle.ThinPressed || 725style == ClassicBorderStyle.AltPressed) 750ClassicBorderStyle style = BorderStyle; 760if (style == ClassicBorderStyle.RaisedFocused || style == ClassicBorderStyle.RaisedPressed) 768if (borderBrush == ClassicBorderBrush || isTabStyle || style == ClassicBorderStyle.RadioButton) 772case ClassicBorderStyle.Raised: 773case ClassicBorderStyle.RaisedFocused: 777case ClassicBorderStyle.RaisedPressed: 780case ClassicBorderStyle.Sunken: 783case ClassicBorderStyle.Etched: 786case ClassicBorderStyle.HorizontalLine: 789case ClassicBorderStyle.VerticalLine: 792case ClassicBorderStyle.TabLeft: 795case ClassicBorderStyle.TabTop: 798case ClassicBorderStyle.TabRight: 801case ClassicBorderStyle.TabBottom: 804case ClassicBorderStyle.ThinRaised: 807case ClassicBorderStyle.ThinPressed: 810case ClassicBorderStyle.AltRaised: 813case ClassicBorderStyle.AltPressed: 816case ClassicBorderStyle.RadioButton: 1057private bool IsTabStyle(ClassicBorderStyle style) 1059return style == ClassicBorderStyle.TabLeft || 1060style == ClassicBorderStyle.TabTop || 1061style == ClassicBorderStyle.TabRight || 1062style == ClassicBorderStyle.TabBottom; 1184private MatrixTransform GetTabTransform(ClassicBorderStyle style, double xOffset, double yOffset) 1193case ClassicBorderStyle.TabLeft: 1196case ClassicBorderStyle.TabRight: 1199case ClassicBorderStyle.TabBottom: 1219dc.PushTransform(GetTabTransform(ClassicBorderStyle.TabLeft, bounds.Left, bounds.Top)); 1255dc.PushTransform(GetTabTransform(ClassicBorderStyle.TabRight, bounds.Right, bounds.Bottom)); 1276dc.PushTransform(GetTabTransform(ClassicBorderStyle.TabBottom, bounds.Right, bounds.Bottom));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (3)
59bamlMember.TypeConverterType = typeof(Microsoft.Windows.Themes.ClassicBorderStyle); 84typeof(Microsoft.Windows.Themes.ClassicBorderStyle)); 86bamlType.TypeConverterType = typeof(Microsoft.Windows.Themes.ClassicBorderStyle);