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)
103else { return new CornerRadius(Convert.ToDouble(source, cultureInfo)); } 195return (new CornerRadius(radii[0])); 198return (new CornerRadius(radii[0], radii[1], radii[2], radii[3]));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3029bamlType.DefaultConstructor = delegate() { return new System.Windows.CornerRadius(); };
System\Windows\Markup\KnownTypes.cs (1)
1189case KnownElements.CornerRadius: o = new System.Windows.CornerRadius(); break;
System\Windows\SystemParameters.cs (4)
5623cornerRadius = new CornerRadius(6, 6, 0, 0); 5629cornerRadius = new CornerRadius(8); 5633cornerRadius = new CornerRadius(6, 6, 0, 0); 5640cornerRadius = 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()));
101 references to CornerRadius
PresentationFramework (40)
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; 622private static bool AreUniformCorners(CornerRadius borderRadii) 931internal Radii(CornerRadius radii, Thickness borders, bool outer)
System\Windows\CornerRadius.cs (9)
24public struct CornerRadius : IEquatable<CornerRadius> 72if (obj is CornerRadius) 74CornerRadius otherObj = (CornerRadius)obj; 86public bool Equals(CornerRadius cornerRadius) 125public static bool operator==(CornerRadius cr1, CornerRadius cr2) 141public static bool operator!=(CornerRadius cr1, CornerRadius cr2)
System\Windows\CornerRadiusConverter.cs (8)
134if (!(value is CornerRadius)) 137throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(CornerRadius)), "value"); 140CornerRadius cr = (CornerRadius)value; 144ConstructorInfo ci = typeof(CornerRadius).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) }); 148throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CornerRadius), destinationType.FullName)); 164static internal string ToString(CornerRadius cr, CultureInfo cultureInfo) 171static 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)
3027typeof(System.Windows.CornerRadius),
System\Windows\Markup\KnownTypes.cs (1)
5664case 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)
5597public static CornerRadius WindowCornerRadius 5613CornerRadius cornerRadius = default(CornerRadius); 5957private 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) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 474private 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) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 474private 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) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 474private 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) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 474private 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) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 474private 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) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 474private 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