8 writes to TopLeft
PresentationFramework.Aero (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
122
cornerRadius.
TopLeft
= Math.Min(cornerRadius.TopLeft, maxRadius);
155
cornerRadius.
TopLeft
= cornerRadius.TopLeft + ShadowDepth;
PresentationFramework.Classic (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
122
cornerRadius.
TopLeft
= Math.Min(cornerRadius.TopLeft, maxRadius);
155
cornerRadius.
TopLeft
= cornerRadius.TopLeft + ShadowDepth;
PresentationFramework.Luna (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
122
cornerRadius.
TopLeft
= Math.Min(cornerRadius.TopLeft, maxRadius);
155
cornerRadius.
TopLeft
= cornerRadius.TopLeft + ShadowDepth;
PresentationFramework.Royale (2)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
122
cornerRadius.
TopLeft
= Math.Min(cornerRadius.TopLeft, maxRadius);
155
cornerRadius.
TopLeft
= cornerRadius.TopLeft + ShadowDepth;
89 references to TopLeft
PresentationFramework (13)
src\Framework\System\Windows\Controls\Border.cs (8)
312
|| (!DoubleUtil.IsZero(radii.
TopLeft
) && !uniformBorders);
402
double outerCornerRadius = cornerRadius.
TopLeft
; // Already validated that all corners have the same radius
637
double topLeft = borderRadii.
TopLeft
;
953
if (DoubleUtil.IsZero(radii.
TopLeft
))
959
LeftTop = radii.
TopLeft
+ left;
960
TopLeft = radii.
TopLeft
+ top;
992
LeftTop = Math.Max(0.0, radii.
TopLeft
- left);
993
TopLeft = Math.Max(0.0, radii.
TopLeft
- top);
src\Framework\System\Windows\CornerRadiusConverter.cs (2)
163
return new InstanceDescriptor(ci, new object[] { cr.
TopLeft
, cr.TopRight, cr.BottomRight, cr.BottomLeft });
192
sb.Append(cr.
TopLeft
.ToString(cultureInfo));
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
1228
double topLeftRadius = DpiHelper.LogicalPixelsToDevice(new Point(_chromeInfo.CornerRadius.
TopLeft
, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
1339
if (!DoubleUtilities.AreClose(cornerRadius.
TopLeft
, cornerRadius.TopRight))
src\Framework\System\Windows\Standard\Utilities.cs (1)
308
if (!IsDoubleFiniteAndNonNegative(cornerRadius.
TopLeft
))
PresentationFramework.Aero (19)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (19)
77
return !(cr.
TopLeft
< 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 ||
78
double.IsNaN(cr.
TopLeft
) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
79
double.IsInfinity(cr.
TopLeft
) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight));
122
cornerRadius.TopLeft = Math.Min(cornerRadius.
TopLeft
, maxRadius);
138
centerLeft + cornerRadius.
TopLeft
,
145
centerTop + cornerRadius.
TopLeft
,
155
cornerRadius.TopLeft = cornerRadius.
TopLeft
+ ShadowDepth;
162
Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.
TopLeft
, cornerRadius.
TopLeft
);
212
if (cornerRadius.
TopLeft
== ShadowDepth &&
213
cornerRadius.
TopLeft
== cornerRadius.TopRight &&
214
cornerRadius.
TopLeft
== cornerRadius.BottomLeft &&
215
cornerRadius.
TopLeft
== cornerRadius.BottomRight)
236
if (cornerRadius.
TopLeft
> ShadowDepth)
363
if (cornerRadius.
TopLeft
== 0)
366
topLeftStops = CreateStops(c, cornerRadius.
TopLeft
);
380
else if (cornerRadius.TopRight == cornerRadius.
TopLeft
)
397
else if (cornerRadius.BottomLeft == cornerRadius.
TopLeft
)
416
else if (cornerRadius.BottomRight == cornerRadius.
TopLeft
)
PresentationFramework.Classic (19)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (19)
77
return !(cr.
TopLeft
< 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 ||
78
double.IsNaN(cr.
TopLeft
) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
79
double.IsInfinity(cr.
TopLeft
) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight));
122
cornerRadius.TopLeft = Math.Min(cornerRadius.
TopLeft
, maxRadius);
138
centerLeft + cornerRadius.
TopLeft
,
145
centerTop + cornerRadius.
TopLeft
,
155
cornerRadius.TopLeft = cornerRadius.
TopLeft
+ ShadowDepth;
162
Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.
TopLeft
, cornerRadius.
TopLeft
);
212
if (cornerRadius.
TopLeft
== ShadowDepth &&
213
cornerRadius.
TopLeft
== cornerRadius.TopRight &&
214
cornerRadius.
TopLeft
== cornerRadius.BottomLeft &&
215
cornerRadius.
TopLeft
== cornerRadius.BottomRight)
236
if (cornerRadius.
TopLeft
> ShadowDepth)
363
if (cornerRadius.
TopLeft
== 0)
366
topLeftStops = CreateStops(c, cornerRadius.
TopLeft
);
380
else if (cornerRadius.TopRight == cornerRadius.
TopLeft
)
397
else if (cornerRadius.BottomLeft == cornerRadius.
TopLeft
)
416
else if (cornerRadius.BottomRight == cornerRadius.
TopLeft
)
PresentationFramework.Luna (19)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (19)
77
return !(cr.
TopLeft
< 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 ||
78
double.IsNaN(cr.
TopLeft
) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
79
double.IsInfinity(cr.
TopLeft
) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight));
122
cornerRadius.TopLeft = Math.Min(cornerRadius.
TopLeft
, maxRadius);
138
centerLeft + cornerRadius.
TopLeft
,
145
centerTop + cornerRadius.
TopLeft
,
155
cornerRadius.TopLeft = cornerRadius.
TopLeft
+ ShadowDepth;
162
Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.
TopLeft
, cornerRadius.
TopLeft
);
212
if (cornerRadius.
TopLeft
== ShadowDepth &&
213
cornerRadius.
TopLeft
== cornerRadius.TopRight &&
214
cornerRadius.
TopLeft
== cornerRadius.BottomLeft &&
215
cornerRadius.
TopLeft
== cornerRadius.BottomRight)
236
if (cornerRadius.
TopLeft
> ShadowDepth)
363
if (cornerRadius.
TopLeft
== 0)
366
topLeftStops = CreateStops(c, cornerRadius.
TopLeft
);
380
else if (cornerRadius.TopRight == cornerRadius.
TopLeft
)
397
else if (cornerRadius.BottomLeft == cornerRadius.
TopLeft
)
416
else if (cornerRadius.BottomRight == cornerRadius.
TopLeft
)
PresentationFramework.Royale (19)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (19)
77
return !(cr.
TopLeft
< 0.0 || cr.TopRight < 0.0 || cr.BottomLeft < 0.0 || cr.BottomRight < 0.0 ||
78
double.IsNaN(cr.
TopLeft
) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
79
double.IsInfinity(cr.
TopLeft
) || double.IsInfinity(cr.TopRight) || double.IsInfinity(cr.BottomLeft) || double.IsInfinity(cr.BottomRight));
122
cornerRadius.TopLeft = Math.Min(cornerRadius.
TopLeft
, maxRadius);
138
centerLeft + cornerRadius.
TopLeft
,
145
centerTop + cornerRadius.
TopLeft
,
155
cornerRadius.TopLeft = cornerRadius.
TopLeft
+ ShadowDepth;
162
Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.
TopLeft
, cornerRadius.
TopLeft
);
212
if (cornerRadius.
TopLeft
== ShadowDepth &&
213
cornerRadius.
TopLeft
== cornerRadius.TopRight &&
214
cornerRadius.
TopLeft
== cornerRadius.BottomLeft &&
215
cornerRadius.
TopLeft
== cornerRadius.BottomRight)
236
if (cornerRadius.
TopLeft
> ShadowDepth)
363
if (cornerRadius.
TopLeft
== 0)
366
topLeftStops = CreateStops(c, cornerRadius.
TopLeft
);
380
else if (cornerRadius.TopRight == cornerRadius.
TopLeft
)
397
else if (cornerRadius.BottomLeft == cornerRadius.
TopLeft
)
416
else if (cornerRadius.BottomRight == cornerRadius.
TopLeft
)