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