19 instantiations of CornerRadius
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
103CornerRadius = new CornerRadius(2),
InlineHints\InlineHintsTag.cs (1)
168CornerRadius = new CornerRadius(2),
PresentationFramework (10)
System\Windows\Controls\Border.cs (1)
156new CornerRadius(),
System\Windows\CornerRadiusConverter.cs (3)
94else { return new CornerRadius(Convert.ToDouble(source, cultureInfo)); } 179return (new CornerRadius(radii[0])); 182return (new CornerRadius(radii[0], radii[1], radii[2], radii[3]));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3198DefaultConstructor = delegate () { return new System.Windows.CornerRadius(); },
System\Windows\Markup\KnownTypes.cs (1)
1183case KnownElements.CornerRadius: o = new System.Windows.CornerRadius(); break;
System\Windows\SystemParameters.cs (4)
5609cornerRadius = new CornerRadius(6, 6, 0, 0); 5615cornerRadius = new CornerRadius(8); 5619cornerRadius = new CornerRadius(6, 6, 0, 0); 5626cornerRadius = new CornerRadius(0);
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
60new CornerRadius(),
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
60new CornerRadius(),
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
60new CornerRadius(),
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
60new CornerRadius(),
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
60new CornerRadius(),
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
60new CornerRadius(),
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (1)
555new FrameworkPropertyMetadata(new CornerRadius()));
99 references to CornerRadius
PresentationFramework (38)
System\Windows\Controls\Border.cs (9)
89public CornerRadius CornerRadius 91get { return (CornerRadius) GetValue(CornerRadiusProperty); } 154= DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(Border), 162CornerRadius cr = (CornerRadius)value; 277CornerRadius radii = CornerRadius; 390CornerRadius cornerRadius = CornerRadius; 630private static bool AreUniformCorners(CornerRadius borderRadii) 939internal Radii(CornerRadius radii, Thickness borders, bool outer)
System\Windows\CornerRadius.cs (7)
24public struct CornerRadius : IEquatable<CornerRadius> 72if (obj is CornerRadius otherObj) 85public bool Equals(CornerRadius cornerRadius) 124public static bool operator==(CornerRadius cr1, CornerRadius cr2) 140public static bool operator!=(CornerRadius cr1, CornerRadius cr2)
System\Windows\CornerRadiusConverter.cs (8)
122if (!(value is CornerRadius)) 124throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(CornerRadius)), "value"); 127CornerRadius cr = (CornerRadius)value; 131ConstructorInfo ci = typeof(CornerRadius).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) }); 135throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CornerRadius), destinationType.FullName)); 148static internal string ToString(CornerRadius cr, CultureInfo cultureInfo) 155static internal CornerRadius FromString(string s, CultureInfo cultureInfo)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
204case 110: t = () => typeof(CornerRadius); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3195typeof(System.Windows.CornerRadius),
System\Windows\Markup\KnownTypes.cs (1)
5658case KnownElements.CornerRadius: t = typeof(System.Windows.CornerRadius); break;
System\Windows\Shell\WindowChrome.cs (5)
243typeof(CornerRadius), 246default(CornerRadius), 248(value) => Utility.IsCornerRadiusValid((CornerRadius)value)); 250public CornerRadius CornerRadius 252get { return (CornerRadius)GetValue(CornerRadiusProperty); }
System\Windows\Shell\WindowChromeWorker.cs (1)
913private static bool _IsUniform(CornerRadius cornerRadius)
System\Windows\Standard\Utilities.cs (1)
272public static bool IsCornerRadiusValid(CornerRadius cornerRadius)
System\Windows\SystemParameters.cs (4)
5583public static CornerRadius WindowCornerRadius 5599CornerRadius cornerRadius = default(CornerRadius); 5938private static CornerRadius _windowCornerRadius;
PresentationFramework.Aero (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
57typeof(CornerRadius), 67CornerRadius cr = (CornerRadius)value; 76public CornerRadius CornerRadius 78get { return (CornerRadius)GetValue(CornerRadiusProperty); } 98CornerRadius cornerRadius = CornerRadius; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 482private static CornerRadius _commonCornerRadius;
PresentationFramework.Aero2 (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
57typeof(CornerRadius), 67CornerRadius cr = (CornerRadius)value; 76public CornerRadius CornerRadius 78get { return (CornerRadius)GetValue(CornerRadiusProperty); } 98CornerRadius cornerRadius = CornerRadius; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 482private static CornerRadius _commonCornerRadius;
PresentationFramework.AeroLite (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
57typeof(CornerRadius), 67CornerRadius cr = (CornerRadius)value; 76public CornerRadius CornerRadius 78get { return (CornerRadius)GetValue(CornerRadiusProperty); } 98CornerRadius cornerRadius = CornerRadius; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 482private static CornerRadius _commonCornerRadius;
PresentationFramework.Classic (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
57typeof(CornerRadius), 67CornerRadius cr = (CornerRadius)value; 76public CornerRadius CornerRadius 78get { return (CornerRadius)GetValue(CornerRadiusProperty); } 98CornerRadius cornerRadius = CornerRadius; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 482private static CornerRadius _commonCornerRadius;
PresentationFramework.Luna (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
57typeof(CornerRadius), 67CornerRadius cr = (CornerRadius)value; 76public CornerRadius CornerRadius 78get { return (CornerRadius)GetValue(CornerRadiusProperty); } 98CornerRadius cornerRadius = CornerRadius; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 482private static CornerRadius _commonCornerRadius;
PresentationFramework.Royale (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
57typeof(CornerRadius), 67CornerRadius cr = (CornerRadius)value; 76public CornerRadius CornerRadius 78get { return (CornerRadius)GetValue(CornerRadiusProperty); } 98CornerRadius cornerRadius = CornerRadius; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 482private static CornerRadius _commonCornerRadius;
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
216public CornerRadius CornerRadius
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (4)
553typeof(CornerRadius), 562public static CornerRadius GetCornerRadius(DependencyObject element) 565return (CornerRadius)element.GetValue(CornerRadiusProperty); 573public static void SetCornerRadius(DependencyObject element, CornerRadius value)
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
216public CornerRadius CornerRadius
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
223public CornerRadius CornerRadius