12 writes to TopRight
PresentationFramework.Aero (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Aero2 (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.AeroLite (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Classic (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Luna (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Royale (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
108 references to TopRight
PresentationFramework (12)
System\Windows\Controls\Border.cs (6)
625return DoubleUtil.AreClose(topLeft, borderRadii.TopRight) && 949if (DoubleUtil.IsZero(radii.TopRight)) 955TopRight = radii.TopRight + top; 956RightTop = radii.TopRight + right; 981TopRight = Math.Max(0.0, radii.TopRight - top); 982RightTop = Math.Max(0.0, radii.TopRight - right);
System\Windows\CornerRadiusConverter.cs (2)
145return new InstanceDescriptor(ci, new object[] { cr.TopLeft, cr.TopRight, cr.BottomRight, cr.BottomLeft }); 168return string.Create(cultureInfo, stackalloc char[64], $"{cr.TopLeft}{listSeparator}{cr.TopRight}{listSeparator}{cr.BottomRight}{listSeparator}{cr.BottomLeft}");
System\Windows\Shell\WindowChromeWorker.cs (3)
833double topRightRadius = DpiHelper.LogicalPixelsToDevice(new Point(_chromeInfo.CornerRadius.TopRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X; 920if (!DoubleUtilities.AreClose(cornerRadius.TopLeft, cornerRadius.TopRight)) 925if (!DoubleUtilities.AreClose(cornerRadius.BottomLeft, cornerRadius.TopRight))
System\Windows\Standard\Utilities.cs (1)
279if (!IsDoubleFiniteAndNonNegative(cornerRadius.TopRight))
PresentationFramework.Aero (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
68return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 69double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 70double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 130centerRight - cornerRadius.TopRight, 137centerTop + cornerRadius.TopRight, 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 163Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 204cornerRadius.TopLeft == cornerRadius.TopRight && 261if (cornerRadius.TopRight > ShadowDepth) 369if (cornerRadius.TopRight == 0) 371else if (cornerRadius.TopRight == cornerRadius.TopLeft) 374topRightStops = CreateStops(c, cornerRadius.TopRight); 390else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 409else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Aero2 (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
68return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 69double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 70double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 130centerRight - cornerRadius.TopRight, 137centerTop + cornerRadius.TopRight, 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 163Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 204cornerRadius.TopLeft == cornerRadius.TopRight && 261if (cornerRadius.TopRight > ShadowDepth) 369if (cornerRadius.TopRight == 0) 371else if (cornerRadius.TopRight == cornerRadius.TopLeft) 374topRightStops = CreateStops(c, cornerRadius.TopRight); 390else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 409else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.AeroLite (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
68return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 69double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 70double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 130centerRight - cornerRadius.TopRight, 137centerTop + cornerRadius.TopRight, 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 163Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 204cornerRadius.TopLeft == cornerRadius.TopRight && 261if (cornerRadius.TopRight > ShadowDepth) 369if (cornerRadius.TopRight == 0) 371else if (cornerRadius.TopRight == cornerRadius.TopLeft) 374topRightStops = CreateStops(c, cornerRadius.TopRight); 390else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 409else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Classic (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
68return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 69double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 70double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 130centerRight - cornerRadius.TopRight, 137centerTop + cornerRadius.TopRight, 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 163Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 204cornerRadius.TopLeft == cornerRadius.TopRight && 261if (cornerRadius.TopRight > ShadowDepth) 369if (cornerRadius.TopRight == 0) 371else if (cornerRadius.TopRight == cornerRadius.TopLeft) 374topRightStops = CreateStops(c, cornerRadius.TopRight); 390else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 409else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Luna (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
68return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 69double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 70double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 130centerRight - cornerRadius.TopRight, 137centerTop + cornerRadius.TopRight, 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 163Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 204cornerRadius.TopLeft == cornerRadius.TopRight && 261if (cornerRadius.TopRight > ShadowDepth) 369if (cornerRadius.TopRight == 0) 371else if (cornerRadius.TopRight == cornerRadius.TopLeft) 374topRightStops = CreateStops(c, cornerRadius.TopRight); 390else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 409else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Royale (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
68return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 69double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 70double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 114cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 130centerRight - cornerRadius.TopRight, 137centerTop + cornerRadius.TopRight, 147cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 163Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 204cornerRadius.TopLeft == cornerRadius.TopRight && 261if (cornerRadius.TopRight > ShadowDepth) 369if (cornerRadius.TopRight == 0) 371else if (cornerRadius.TopRight == cornerRadius.TopLeft) 374topRightStops = CreateStops(c, cornerRadius.TopRight); 390else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 409else if (cornerRadius.BottomRight == cornerRadius.TopRight)