12 writes to TopRight
PresentationFramework.Aero (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Aero2 (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.AeroLite (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Classic (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Luna (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
PresentationFramework.Royale (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth;
108 references to TopRight
PresentationFramework (12)
System\Windows\Controls\Border.cs (6)
629return DoubleUtil.AreClose(topLeft, borderRadii.TopRight) && 953if (DoubleUtil.IsZero(radii.TopRight)) 959TopRight = radii.TopRight + top; 960RightTop = radii.TopRight + right; 985TopRight = Math.Max(0.0, radii.TopRight - top); 986RightTop = Math.Max(0.0, radii.TopRight - right);
System\Windows\CornerRadiusConverter.cs (2)
150return new InstanceDescriptor(ci, new object[] { cr.TopLeft, cr.TopRight, cr.BottomRight, cr.BottomLeft }); 173return string.Create(cultureInfo, stackalloc char[64], $"{cr.TopLeft}{listSeparator}{cr.TopRight}{listSeparator}{cr.BottomRight}{listSeparator}{cr.BottomLeft}");
System\Windows\Shell\WindowChromeWorker.cs (3)
838double topRightRadius = DpiHelper.LogicalPixelsToDevice(new Point(_chromeInfo.CornerRadius.TopRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X; 925if (!DoubleUtilities.AreClose(cornerRadius.TopLeft, cornerRadius.TopRight)) 930if (!DoubleUtilities.AreClose(cornerRadius.BottomLeft, cornerRadius.TopRight))
System\Windows\Standard\Utilities.cs (1)
288if (!IsDoubleFiniteAndNonNegative(cornerRadius.TopRight))
PresentationFramework.Aero (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
72return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 73double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 74double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 134centerRight - cornerRadius.TopRight, 141centerTop + cornerRadius.TopRight, 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 167Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 208cornerRadius.TopLeft == cornerRadius.TopRight && 265if (cornerRadius.TopRight > ShadowDepth) 373if (cornerRadius.TopRight == 0) 375else if (cornerRadius.TopRight == cornerRadius.TopLeft) 378topRightStops = CreateStops(c, cornerRadius.TopRight); 394else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 413else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Aero2 (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
72return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 73double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 74double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 134centerRight - cornerRadius.TopRight, 141centerTop + cornerRadius.TopRight, 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 167Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 208cornerRadius.TopLeft == cornerRadius.TopRight && 265if (cornerRadius.TopRight > ShadowDepth) 373if (cornerRadius.TopRight == 0) 375else if (cornerRadius.TopRight == cornerRadius.TopLeft) 378topRightStops = CreateStops(c, cornerRadius.TopRight); 394else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 413else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.AeroLite (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
72return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 73double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 74double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 134centerRight - cornerRadius.TopRight, 141centerTop + cornerRadius.TopRight, 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 167Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 208cornerRadius.TopLeft == cornerRadius.TopRight && 265if (cornerRadius.TopRight > ShadowDepth) 373if (cornerRadius.TopRight == 0) 375else if (cornerRadius.TopRight == cornerRadius.TopLeft) 378topRightStops = CreateStops(c, cornerRadius.TopRight); 394else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 413else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Classic (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
72return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 73double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 74double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 134centerRight - cornerRadius.TopRight, 141centerTop + cornerRadius.TopRight, 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 167Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 208cornerRadius.TopLeft == cornerRadius.TopRight && 265if (cornerRadius.TopRight > ShadowDepth) 373if (cornerRadius.TopRight == 0) 375else if (cornerRadius.TopRight == cornerRadius.TopLeft) 378topRightStops = CreateStops(c, cornerRadius.TopRight); 394else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 413else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Luna (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
72return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 73double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 74double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 134centerRight - cornerRadius.TopRight, 141centerTop + cornerRadius.TopRight, 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 167Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 208cornerRadius.TopLeft == cornerRadius.TopRight && 265if (cornerRadius.TopRight > ShadowDepth) 373if (cornerRadius.TopRight == 0) 375else if (cornerRadius.TopRight == cornerRadius.TopLeft) 378topRightStops = CreateStops(c, cornerRadius.TopRight); 394else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 413else if (cornerRadius.BottomRight == cornerRadius.TopRight)
PresentationFramework.Royale (16)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (16)
72return !(cr.TopLeft < 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 || 73double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) || 74double.IsInfinity(cr.TopLeft) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight)); 118cornerRadius.TopRight = Math.Min(cornerRadius.TopRight, maxRadius); 134centerRight - cornerRadius.TopRight, 141centerTop + cornerRadius.TopRight, 151cornerRadius.TopRight = cornerRadius.TopRight + ShadowDepth; 167Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 208cornerRadius.TopLeft == cornerRadius.TopRight && 265if (cornerRadius.TopRight > ShadowDepth) 373if (cornerRadius.TopRight == 0) 375else if (cornerRadius.TopRight == cornerRadius.TopLeft) 378topRightStops = CreateStops(c, cornerRadius.TopRight); 394else if (cornerRadius.BottomLeft == cornerRadius.TopRight) 413else if (cornerRadius.BottomRight == cornerRadius.TopRight)