1 write to _chromeInfo
PresentationFramework (1)
System\Windows\Shell\WindowChromeWorker.cs (1)
96
_chromeInfo
= newChrome;
46 references to _chromeInfo
PresentationFramework (46)
System\Windows\Shell\WindowChromeWorker.cs (46)
85
if (newChrome ==
_chromeInfo
)
91
if (
_chromeInfo
!= null)
93
_chromeInfo
.PropertyChangedThatRequiresRepaint -= _OnChromePropertyChangedThatRequiresRepaint;
97
if (
_chromeInfo
!= null)
99
_chromeInfo
.PropertyChangedThatRequiresRepaint += _OnChromePropertyChangedThatRequiresRepaint;
160
if (
_chromeInfo
!= null)
178
if (
_chromeInfo
!= null)
198
if (
_chromeInfo
!= null)
200
_chromeInfo
.PropertyChangedThatRequiresRepaint -= _OnChromePropertyChangedThatRequiresRepaint;
222
if (
_chromeInfo
!= null && _hwnd != IntPtr.Zero)
244
if (
_chromeInfo
== null)
287
Assert.IsNotNull(
_chromeInfo
);
309
if (
_chromeInfo
.NonClientFrameEdges != NonClientFrameEdges.None)
311
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Top))
319
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Left))
327
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Bottom))
335
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Right))
411
if (
_chromeInfo
.NonClientFrameEdges != NonClientFrameEdges.None)
420
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Top))
424
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Left))
428
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Bottom))
432
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Right))
516
if (
_chromeInfo
.UseAeroCaptionButtons)
519
if (Utility.IsOSVistaOrNewer &&
_chromeInfo
.GlassFrameThickness != default(Thickness) && _isGlassEnabled)
729
_isGlassEnabled = frameState &&
_chromeInfo
.GlassFrameThickness != default(Thickness);
822
double topLeftRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.TopLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
825
if (_IsUniform(
_chromeInfo
.CornerRadius))
838
double topRightRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.TopRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
846
double bottomLeftRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.BottomLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
854
double bottomRightRadius = DpiHelper.LogicalPixelsToDevice(new Point(
_chromeInfo
.CornerRadius.BottomRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
971
Thickness deviceGlassThickness = DpiHelper.LogicalThicknessToDevice(
_chromeInfo
.GlassFrameThickness, dpi.DpiScaleX, dpi.DpiScaleY);
973
if (
_chromeInfo
.NonClientFrameEdges != NonClientFrameEdges.None)
980
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Top))
985
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Left))
990
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Bottom))
995
if (Utility.IsFlagSet((int)
_chromeInfo
.NonClientFrameEdges, (int)NonClientFrameEdges.Right))
1034
if (mousePosition.Y >= windowPosition.Top && mousePosition.Y < windowPosition.Top +
_chromeInfo
.ResizeBorderThickness.Top +
_chromeInfo
.CaptionHeight)
1036
onResizeBorder = (mousePosition.Y < (windowPosition.Top +
_chromeInfo
.ResizeBorderThickness.Top));
1039
else if (mousePosition.Y < windowPosition.Bottom && mousePosition.Y >= windowPosition.Bottom - (int)
_chromeInfo
.ResizeBorderThickness.Bottom)
1045
if (mousePosition.X >= windowPosition.Left && mousePosition.X < windowPosition.Left + (int)
_chromeInfo
.ResizeBorderThickness.Left)
1049
else if (mousePosition.X < windowPosition.Right && mousePosition.X >= windowPosition.Right -
_chromeInfo
.ResizeBorderThickness.Right)
1078
if (_window == null ||
_chromeInfo
== null)
1082
double captionHeight =
_chromeInfo
.CaptionHeight;
1083
Thickness resizeBorderThickness =
_chromeInfo
.ResizeBorderThickness;
1144
Assert.IsNull(
_chromeInfo
);