1 write to _borderGeometryCache
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
905
_borderGeometryCache
= new BorderGeometryCache();
8 references to _borderGeometryCache
PresentationFramework.Classic (8)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (8)
904
if (
_borderGeometryCache
== null)
907
if (
_borderGeometryCache
.Bounds != bounds ||
_borderGeometryCache
.BorderThickness != borderThickness
908
||
_borderGeometryCache
.BorderGeometry == null)
910
_borderGeometryCache
.BorderGeometry = GenerateBorderGeometry(bounds, borderThickness);
911
_borderGeometryCache
.Bounds = bounds;
912
_borderGeometryCache
.BorderThickness = borderThickness;
915
return
_borderGeometryCache
.BorderGeometry;