22 references to None
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\StretchValidation.cs (1)
37return (value == Stretch.None) ||
PresentationFramework (10)
MS\Internal\Ink\PenCursorManager.cs (1)
250db.Stretch = Stretch.None;
System\Windows\Controls\ComboBox.cs (1)
900visualBrush.Stretch = Stretch.None;
System\Windows\Controls\ViewBox.cs (1)
105|| s == Stretch.None
System\Windows\Shapes\Ellipse.cs (1)
121case Stretch.None:
System\Windows\Shapes\Rectangle.cs (1)
175case Stretch.None:
System\Windows\Shapes\Shape.cs (5)
47new FrameworkPropertyMetadata(Stretch.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange)); 360if (mode == Stretch.None) 388if (mode == Stretch.None) 627Debug.Assert(mode != Stretch.None); 734if (Stretch != Stretch.None)
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
74newBrush.Stretch = Stretch.None;
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
74newBrush.Stretch = Stretch.None;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
69newBrush.Stretch = Stretch.None;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
69newBrush.Stretch = Stretch.None;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
69newBrush.Stretch = Stretch.None;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
69newBrush.Stretch = Stretch.None;
ReachFramework (4)
AlphaFlattener\BrushProxy.cs (2)
463if (!Utility.IsValidViewbox(viewbox, tb.Stretch != Stretch.None)) 2899! Utility.IsValidViewbox(tileBrush.Viewbox, tileBrush.Stretch != Stretch.None)
AlphaFlattener\Utility.cs (1)
1668Debug.Assert(IsValidViewbox(viewbox, brush.Stretch != Stretch.None) &&
Serialization\VisualSerializer.cs (1)
451case Stretch.None:
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
551visualBrush.Stretch = Stretch.None;