16 instantiations of CornerRadius
PresentationFramework (10)
src\Framework\System\Windows\Controls\Border.cs (1)
167new CornerRadius(),
src\Framework\System\Windows\CornerRadiusConverter.cs (3)
110else { return new CornerRadius(Convert.ToDouble(source, cultureInfo)); } 226return (new CornerRadius(radii[0])); 229return (new CornerRadius(radii[0], radii[1], radii[2], radii[3]));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3027bamlType.DefaultConstructor = delegate() { return new System.Windows.CornerRadius(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1190case KnownElements.CornerRadius: o = new System.Windows.CornerRadius(); break;
src\Framework\System\Windows\SystemParameters.cs (4)
6218cornerRadius = new CornerRadius(6, 6, 0, 0); 6224cornerRadius = new CornerRadius(8); 6228cornerRadius = new CornerRadius(6, 6, 0, 0); 6235cornerRadius = new CornerRadius(0);
PresentationFramework.Aero (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
69new CornerRadius(),
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
69new CornerRadius(),
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
69new CornerRadius(),
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
69new CornerRadius(),
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
37CornerRadius = new CornerRadius(4),
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
27CornerRadius = new CornerRadius(4),
76 references to CornerRadius
PresentationFramework (40)
src\Framework\System\Windows\Controls\Border.cs (9)
99public CornerRadius CornerRadius 101get { return (CornerRadius) GetValue(CornerRadiusProperty); } 165= DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(Border), 173CornerRadius cr = (CornerRadius)value; 288CornerRadius radii = CornerRadius; 401CornerRadius cornerRadius = CornerRadius; 635private static bool AreUniformCorners(CornerRadius borderRadii) 944internal Radii(CornerRadius radii, Thickness borders, bool outer)
src\Framework\System\Windows\CornerRadius.cs (9)
26public struct CornerRadius : IEquatable<CornerRadius> 74if (obj is CornerRadius) 76CornerRadius otherObj = (CornerRadius)obj; 88public bool Equals(CornerRadius cornerRadius) 127public static bool operator==(CornerRadius cr1, CornerRadius cr2) 143public static bool operator!=(CornerRadius cr1, CornerRadius cr2)
src\Framework\System\Windows\CornerRadiusConverter.cs (8)
152if (!(value is CornerRadius)) 155throw new ArgumentException(SR.Get(SRID.UnexpectedParameterType, value.GetType(), typeof(CornerRadius)), "value"); 158CornerRadius cr = (CornerRadius)value; 162ConstructorInfo ci = typeof(CornerRadius).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) }); 166throw new ArgumentException(SR.Get(SRID.CannotConvertType, typeof(CornerRadius), destinationType.FullName)); 182static internal string ToString(CornerRadius cr, CultureInfo cultureInfo) 202static internal CornerRadius FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
202case 110: t = () => typeof(CornerRadius); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3025typeof(System.Windows.CornerRadius),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5654case KnownElements.CornerRadius: t = typeof(System.Windows.CornerRadius); break;
src\Framework\System\Windows\Shell\WindowChrome.cs (5)
244typeof(CornerRadius), 247default(CornerRadius), 249(value) => Utility.IsCornerRadiusValid((CornerRadius)value)); 251public CornerRadius CornerRadius 253get { return (CornerRadius)GetValue(CornerRadiusProperty); }
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
1332private static bool _IsUniform(CornerRadius cornerRadius)
src\Framework\System\Windows\Standard\Utilities.cs (1)
306public static bool IsCornerRadiusValid(CornerRadius cornerRadius)
src\Framework\System\Windows\SystemParameters.cs (4)
6191public static CornerRadius WindowCornerRadius 6208CornerRadius cornerRadius = default(CornerRadius); 6573private static CornerRadius _windowCornerRadius;
PresentationFramework.Aero (9)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
66typeof(CornerRadius), 76CornerRadius cr = (CornerRadius)value; 85public CornerRadius CornerRadius 87get { return (CornerRadius)GetValue(CornerRadiusProperty); } 107CornerRadius cornerRadius = CornerRadius; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 483private static CornerRadius _commonCornerRadius;
PresentationFramework.Classic (9)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
66typeof(CornerRadius), 76CornerRadius cr = (CornerRadius)value; 85public CornerRadius CornerRadius 87get { return (CornerRadius)GetValue(CornerRadiusProperty); } 107CornerRadius cornerRadius = CornerRadius; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 483private static CornerRadius _commonCornerRadius;
PresentationFramework.Luna (9)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
66typeof(CornerRadius), 76CornerRadius cr = (CornerRadius)value; 85public CornerRadius CornerRadius 87get { return (CornerRadius)GetValue(CornerRadiusProperty); } 107CornerRadius cornerRadius = CornerRadius; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 483private static CornerRadius _commonCornerRadius;
PresentationFramework.Royale (9)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
66typeof(CornerRadius), 76CornerRadius cr = (CornerRadius)value; 85public CornerRadius CornerRadius 87get { return (CornerRadius)GetValue(CornerRadiusProperty); } 107CornerRadius cornerRadius = CornerRadius; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius) 483private static CornerRadius _commonCornerRadius;