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)
160new CornerRadius(),
System\Windows\CornerRadiusConverter.cs (3)
108else { return new CornerRadius(Convert.ToDouble(source, cultureInfo)); } 200return (new CornerRadius(radii[0])); 203return (new CornerRadius(radii[0], radii[1], radii[2], radii[3]));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3031bamlType.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)
5627cornerRadius = new CornerRadius(6, 6, 0, 0); 5633cornerRadius = new CornerRadius(8); 5637cornerRadius = new CornerRadius(6, 6, 0, 0); 5644cornerRadius = new CornerRadius(0);
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
64new CornerRadius(),
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
64new CornerRadius(),
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
64new CornerRadius(),
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
64new CornerRadius(),
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
64new CornerRadius(),
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
64new CornerRadius(),
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (1)
562new FrameworkPropertyMetadata(new CornerRadius()));
101 references to CornerRadius
PresentationFramework (40)
System\Windows\Controls\Border.cs (9)
93public CornerRadius CornerRadius 95get { return (CornerRadius) GetValue(CornerRadiusProperty); } 158= DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(Border), 166CornerRadius cr = (CornerRadius)value; 281CornerRadius radii = CornerRadius; 394CornerRadius cornerRadius = CornerRadius; 626private static bool AreUniformCorners(CornerRadius borderRadii) 935internal 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)
139if (!(value is CornerRadius)) 142throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(CornerRadius)), "value"); 145CornerRadius cr = (CornerRadius)value; 149ConstructorInfo ci = typeof(CornerRadius).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) }); 153throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CornerRadius), destinationType.FullName)); 169static internal string ToString(CornerRadius cr, CultureInfo cultureInfo) 176static internal CornerRadius FromString(string s, CultureInfo cultureInfo)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
206case 110: t = () => typeof(CornerRadius); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3029typeof(System.Windows.CornerRadius),
System\Windows\Markup\KnownTypes.cs (1)
5664case KnownElements.CornerRadius: t = typeof(System.Windows.CornerRadius); break;
System\Windows\Shell\WindowChrome.cs (5)
246typeof(CornerRadius), 249default(CornerRadius), 251(value) => Utility.IsCornerRadiusValid((CornerRadius)value)); 253public CornerRadius CornerRadius 255get { return (CornerRadius)GetValue(CornerRadiusProperty); }
System\Windows\Shell\WindowChromeWorker.cs (1)
918private static bool _IsUniform(CornerRadius cornerRadius)
System\Windows\Standard\Utilities.cs (1)
281public static bool IsCornerRadiusValid(CornerRadius cornerRadius)
System\Windows\SystemParameters.cs (4)
5601public static CornerRadius WindowCornerRadius 5617CornerRadius cornerRadius = default(CornerRadius); 5961private static CornerRadius _windowCornerRadius;
PresentationFramework.Aero (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
61typeof(CornerRadius), 71CornerRadius cr = (CornerRadius)value; 80public CornerRadius CornerRadius 82get { return (CornerRadius)GetValue(CornerRadiusProperty); } 102CornerRadius cornerRadius = CornerRadius; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 478private static CornerRadius _commonCornerRadius;
PresentationFramework.Aero2 (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
61typeof(CornerRadius), 71CornerRadius cr = (CornerRadius)value; 80public CornerRadius CornerRadius 82get { return (CornerRadius)GetValue(CornerRadiusProperty); } 102CornerRadius cornerRadius = CornerRadius; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 478private static CornerRadius _commonCornerRadius;
PresentationFramework.AeroLite (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
61typeof(CornerRadius), 71CornerRadius cr = (CornerRadius)value; 80public CornerRadius CornerRadius 82get { return (CornerRadius)GetValue(CornerRadiusProperty); } 102CornerRadius cornerRadius = CornerRadius; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 478private static CornerRadius _commonCornerRadius;
PresentationFramework.Classic (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
61typeof(CornerRadius), 71CornerRadius cr = (CornerRadius)value; 80public CornerRadius CornerRadius 82get { return (CornerRadius)GetValue(CornerRadiusProperty); } 102CornerRadius cornerRadius = CornerRadius; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 478private static CornerRadius _commonCornerRadius;
PresentationFramework.Luna (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
61typeof(CornerRadius), 71CornerRadius cr = (CornerRadius)value; 80public CornerRadius CornerRadius 82get { return (CornerRadius)GetValue(CornerRadiusProperty); } 102CornerRadius cornerRadius = CornerRadius; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 478private static CornerRadius _commonCornerRadius;
PresentationFramework.Royale (9)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
61typeof(CornerRadius), 71CornerRadius cr = (CornerRadius)value; 80public CornerRadius CornerRadius 82get { return (CornerRadius)GetValue(CornerRadiusProperty); } 102CornerRadius cornerRadius = CornerRadius; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 478private static CornerRadius _commonCornerRadius;
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
219public CornerRadius CornerRadius
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (4)
560typeof(CornerRadius), 569public static CornerRadius GetCornerRadius(DependencyObject element) 572return (CornerRadius)element.GetValue(CornerRadiusProperty); 580public static void SetCornerRadius(DependencyObject element, CornerRadius value)
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
218public CornerRadius CornerRadius
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
225public CornerRadius CornerRadius