8 writes to TopRight
PresentationFramework.Aero (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Classic (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Luna (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Royale (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
76 references to TopRight
PresentationFramework (12)
src\Framework\System\Windows\Controls\Border.cs (6)
638return DoubleUtil.AreClose(topLeft, borderRadii.TopRight) && 962if (DoubleUtil.IsZero(radii.TopRight)) 968TopRight = radii.TopRight + top; 969RightTop = radii.TopRight + right; 994TopRight = Math.Max(0.0, radii.TopRight - top); 995RightTop = Math.Max(0.0, radii.TopRight - right);
src\Framework\System\Windows\CornerRadiusConverter.cs (2)
163return new InstanceDescriptor(ci, new object[] { cr.TopLeft, cr.TopRight, cr.BottomRight, cr.BottomLeft }); 194sb.Append(cr.TopRight.ToString(cultureInfo));
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (3)
1244double topRightRadius = DpiHelper.LogicalPixelsToDevice(new Point(_chromeInfo.CornerRadius.TopRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X; 1339if (!DoubleUtilities.AreClose(cornerRadius.TopLeft, cornerRadius.TopRight)) 1344if (!DoubleUtilities.AreClose(cornerRadius.BottomLeft, cornerRadius.TopRight))
src\Framework\System\Windows\Standard\Utilities.cs (1)
313if (!IsDoubleFiniteAndNonNegative(cornerRadius.TopRight))
PresentationFramework.Aero (16)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
77return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 79double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 139centerRight - cornerRadius.TopRight, 146centerTop + cornerRadius.TopRight, 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 213cornerRadius.TopLeft == cornerRadius.TopRight && 270if (cornerRadius.TopRight > ShadowDepth) 378if (cornerRadius.TopRight == 0) 380else if (cornerRadius.TopRight == cornerRadius.TopLeft) 383topRightStops = CreateStops(c, cornerRadius.TopRight); 399else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 418else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Classic (16)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
77return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 79double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 139centerRight - cornerRadius.TopRight, 146centerTop + cornerRadius.TopRight, 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 213cornerRadius.TopLeft == cornerRadius.TopRight && 270if (cornerRadius.TopRight > ShadowDepth) 378if (cornerRadius.TopRight == 0) 380else if (cornerRadius.TopRight == cornerRadius.TopLeft) 383topRightStops = CreateStops(c, cornerRadius.TopRight); 399else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 418else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Luna (16)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
77return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 79double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 139centerRight - cornerRadius.TopRight, 146centerTop + cornerRadius.TopRight, 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 213cornerRadius.TopLeft == cornerRadius.TopRight && 270if (cornerRadius.TopRight > ShadowDepth) 378if (cornerRadius.TopRight == 0) 380else if (cornerRadius.TopRight == cornerRadius.TopLeft) 383topRightStops = CreateStops(c, cornerRadius.TopRight); 399else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 418else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Royale (16)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
77return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 79double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 123cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 139centerRight - cornerRadius.TopRight, 146centerTop + cornerRadius.TopRight, 156cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 213cornerRadius.TopLeft == cornerRadius.TopRight && 270if (cornerRadius.TopRight > ShadowDepth) 378if (cornerRadius.TopRight == 0) 380else if (cornerRadius.TopRight == cornerRadius.TopLeft) 383topRightStops = CreateStops(c, cornerRadius.TopRight); 399else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 418else if (cornerRadius.BottomRight == cornerRadius.TopRight)