54 references to CanFreeze
PresentationCore (9)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1405
bool animated = !textDecoration.
CanFreeze
&& (unitValue != 0);
Core\CSharp\System\Windows\Media\GeometryGroup.cs (1)
70
Debug.Assert(pg.
CanFreeze
);
Core\CSharp\System\Windows\Media\MatrixTransform.cs (2)
99
return Matrix.IsIdentity &&
CanFreeze
;
103
internal override bool CanSerializeToString() { return
CanFreeze
; }
Core\CSharp\System\Windows\Media\RotateTransform.cs (1)
87
return Angle == 0 &&
CanFreeze
;
Core\CSharp\System\Windows\Media\ScaleTransform.cs (1)
92
return ScaleX == 1 && ScaleY == 1 &&
CanFreeze
;
Core\CSharp\System\Windows\Media\SkewTransform.cs (1)
100
return AngleX == 0 && AngleY == 0 &&
CanFreeze
;
Core\CSharp\System\Windows\Media\TranslateTransform.cs (1)
81
return X == 0 && Y == 0 &&
CanFreeze
;
Shared\MS\Internal\FreezableOperations.cs (1)
82
if (freezable.
CanFreeze
)
PresentationFramework (13)
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (4)
97
if (pen.
CanFreeze
) { pen.Freeze(); }
119
if (pen.
CanFreeze
) { pen.Freeze(); }
130
if (pen.
CanFreeze
) { pen.Freeze(); }
141
if (pen.
CanFreeze
) { pen.Freeze(); }
src\Framework\MS\Internal\PtsHost\SectionVisual.cs (1)
115
if (pen.
CanFreeze
) { pen.Freeze(); }
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
849
if (freezableValue != null && !freezableValue.
CanFreeze
)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2764
if (freezable.
CanFreeze
)
src\Framework\System\Windows\Markup\ParserContext.cs (1)
813
if (freezable.
CanFreeze
)
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (1)
223
if (freezable != null && freezable.
CanFreeze
)
src\Framework\System\Windows\Media\Animation\BeginStoryboard.cs (1)
147
if(!snapshot.
CanFreeze
)
src\Framework\System\Windows\StyleHelper.cs (2)
717
if (!freezable.
CanFreeze
)
1606
Debug.Assert(!freezable.
CanFreeze
, "If a freezable could have been frozen it would have been done by now.");
src\Framework\System\Windows\TemplateContent.cs (1)
1156
if (freezable.
CanFreeze
)
PresentationFramework.Aero (12)
Microsoft\Windows\Themes\BulletChrome.cs (4)
804
if (!border.IsFrozen && border.
CanFreeze
)
811
if (commonPen.
CanFreeze
)
829
if (!border.IsFrozen && border.
CanFreeze
)
836
if (pen.
CanFreeze
)
Microsoft\Windows\Themes\ButtonChrome.cs (4)
565
if (!border.IsFrozen && border.
CanFreeze
)
572
if (commonPen.
CanFreeze
)
590
if (!border.IsFrozen && border.
CanFreeze
)
597
if (pen.
CanFreeze
)
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
443
if (!border.IsFrozen && border.
CanFreeze
)
450
if (commonPen.
CanFreeze
)
468
if (!border.IsFrozen && border.
CanFreeze
)
475
if (pen.
CanFreeze
)
PresentationFramework.Luna (8)
Microsoft\Windows\Themes\ButtonChrome.cs (4)
666
if (!brush.IsFrozen && brush.
CanFreeze
)
673
if (commonPen.
CanFreeze
)
691
if (!brush.IsFrozen && brush.
CanFreeze
)
698
if (pen.
CanFreeze
)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
402
if (!border.IsFrozen && border.
CanFreeze
)
409
if (commonPen.
CanFreeze
)
427
if (!border.IsFrozen && border.
CanFreeze
)
434
if (pen.
CanFreeze
)
PresentationFramework.Royale (8)
Microsoft\Windows\Themes\ButtonChrome.cs (4)
525
if (!brush.IsFrozen && brush.
CanFreeze
)
532
if (commonPen.
CanFreeze
)
550
if (!brush.IsFrozen && brush.
CanFreeze
)
557
if (pen.
CanFreeze
)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
402
if (!border.IsFrozen && border.
CanFreeze
)
409
if (commonPen.
CanFreeze
)
427
if (!border.IsFrozen && border.
CanFreeze
)
434
if (pen.
CanFreeze
)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (1)
570
if (brush.
CanFreeze
)
WindowsBase (3)
Base\MS\Internal\FreezableDefaultValueFactory.cs (1)
41
Debug.Assert(defaultValue.
CanFreeze
,
Base\System\Windows\Freezable.cs (2)
193
if (!
CanFreeze
)
760
get { return
CanFreeze
; }