22 references to None
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\StretchValidation.cs (1)
42return (value == Stretch.None) ||
PresentationFramework (10)
MS\Internal\Ink\PenCursorManager.cs (1)
255db.Stretch = Stretch.None;
System\Windows\Controls\ComboBox.cs (1)
910visualBrush.Stretch = Stretch.None;
System\Windows\Controls\ViewBox.cs (1)
111|| s == Stretch.None
System\Windows\Shapes\Ellipse.cs (1)
130case Stretch.None:
System\Windows\Shapes\Rectangle.cs (1)
183case Stretch.None:
System\Windows\Shapes\Shape.cs (5)
52new FrameworkPropertyMetadata(Stretch.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange)); 365if (mode == Stretch.None) 393if (mode == Stretch.None) 632Debug.Assert(mode != Stretch.None); 739if (Stretch != Stretch.None)
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
76newBrush.Stretch = Stretch.None;
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
76newBrush.Stretch = Stretch.None;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71newBrush.Stretch = Stretch.None;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71newBrush.Stretch = Stretch.None;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71newBrush.Stretch = Stretch.None;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71newBrush.Stretch = Stretch.None;
ReachFramework (4)
AlphaFlattener\BrushProxy.cs (2)
467if (!Utility.IsValidViewbox(viewbox, tb.Stretch != Stretch.None)) 2903! Utility.IsValidViewbox(tileBrush.Viewbox, tileBrush.Stretch != Stretch.None)
AlphaFlattener\Utility.cs (1)
1679Debug.Assert(IsValidViewbox(viewbox, brush.Stretch != Stretch.None) &&
Serialization\VisualSerializer.cs (1)
459case Stretch.None:
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
553visualBrush.Stretch = Stretch.None;