1 write to _chromeInfo
PresentationFramework (1)
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
136
_chromeInfo
= newChrome;
47 references to _chromeInfo
PresentationFramework (47)
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (47)
125
if (newChrome ==
_chromeInfo
)
131
if (
_chromeInfo
!= null)
133
_chromeInfo
.PropertyChangedThatRequiresRepaint -= _OnChromePropertyChangedThatRequiresRepaint;
137
if (
_chromeInfo
!= null)
139
_chromeInfo
.PropertyChangedThatRequiresRepaint += _OnChromePropertyChangedThatRequiresRepaint;
216
if (
_chromeInfo
!= null)
240
if (
_chromeInfo
!= null)
271
if (
_chromeInfo
!= null)
273
_chromeInfo
.PropertyChangedThatRequiresRepaint -= _OnChromePropertyChangedThatRequiresRepaint;
301
if (
_chromeInfo
!= null && _hwnd != IntPtr.Zero)
327
if (
_chromeInfo
== null)
380
Assert.IsNotNull(
_chromeInfo
);
403
if (
_chromeInfo
.NonClientFrameEdges != NonClientFrameEdges.None)
405
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Top))
413
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Left))
421
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Bottom))
429
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Right))
448
if (!Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Left))
457
if (!Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Right))
466
if (!Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Top))
475
if (!Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Bottom))
688
if (
_chromeInfo
.NonClientFrameEdges != NonClientFrameEdges.None)
697
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Top))
701
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Left))
705
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Bottom))
709
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Right))
797
if (
_chromeInfo
.UseAeroCaptionButtons)
800
if (Utility.IsOSVistaOrNewer &&
_chromeInfo
.GlassFrameThickness != default(Thickness) && _isGlassEnabled)
1127
_isGlassEnabled = frameState &&
_chromeInfo
.GlassFrameThickness != default(Thickness);
1228
double topLeftRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.TopLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
1231
if (_IsUniform(
_chromeInfo
.CornerRadius))
1244
double topRightRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.TopRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
1252
double bottomLeftRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.BottomLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
1260
double bottomRightRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.BottomRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
1389
Thickness deviceGlassThickness = DpiHelper.LogicalThicknessToDevice(
_chromeInfo
.GlassFrameThickness, dpi.DpiScaleX, dpi.DpiScaleY);
1391
if (
_chromeInfo
.NonClientFrameEdges != NonClientFrameEdges.None)
1398
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Top))
1403
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Left))
1408
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Bottom))
1413
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Right))
1452
if (mousePosition.Y >= windowPosition.Top && mousePosition.Y < windowPosition.Top +
_chromeInfo
.ResizeBorderThickness.Top +
_chromeInfo
.CaptionHeight)
1454
onResizeBorder = (mousePosition.Y < (windowPosition.Top +
_chromeInfo
.ResizeBorderThickness.Top));
1457
else if (mousePosition.Y < windowPosition.Bottom && mousePosition.Y >= windowPosition.Bottom - (int)
_chromeInfo
.ResizeBorderThickness.Bottom)
1463
if (mousePosition.X >= windowPosition.Left && mousePosition.X < windowPosition.Left + (int)
_chromeInfo
.ResizeBorderThickness.Left)
1467
else if (mousePosition.X < windowPosition.Right && mousePosition.X >= windowPosition.Right -
_chromeInfo
.ResizeBorderThickness.Right)
1554
Assert.IsNull(
_chromeInfo
);