12 references to Fill
PresentationCore (3)
Core\CSharp\System\Windows\Media\Generated\TileBrush.cs (2)
398internal const Stretch c_Stretch = Stretch.Fill; 482Stretch.Fill,
Shared\MS\Internal\Generated\StretchValidation.cs (1)
43(value == Stretch.Fill) ||
PresentationFramework (9)
src\Framework\System\Windows\Controls\ViewBox.cs (3)
120|| s == Stretch.Fill 393if ( (stretch == Stretch.Uniform || stretch == Stretch.UniformToFill || stretch == Stretch.Fill) 417case Stretch.Fill: //We already computed the fill scale factors above, so just use them
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2277return System.Windows.Media.Stretch.Fill;
src\Framework\System\Windows\Shapes\Ellipse.cs (2)
47StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.Fill)); 138case Stretch.Fill:
src\Framework\System\Windows\Shapes\Rectangle.cs (2)
47StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.Fill)); 191case Stretch.Fill:
src\Framework\System\Windows\Shapes\Shape.cs (1)
642if (mode != Stretch.Fill && !hasThinDimension)