12 references to Fill
PresentationCore (3)
Core\CSharp\System\Windows\Media\Generated\TileBrush.cs (2)
398
internal const Stretch c_Stretch = Stretch.
Fill
;
482
Stretch.
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
393
if ( (stretch == Stretch.Uniform || stretch == Stretch.UniformToFill || stretch == Stretch.
Fill
)
417
case Stretch.
Fill
: //We already computed the fill scale factors above, so just use them
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2277
return System.Windows.Media.Stretch.
Fill
;
src\Framework\System\Windows\Shapes\Ellipse.cs (2)
47
StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.
Fill
));
138
case Stretch.
Fill
:
src\Framework\System\Windows\Shapes\Rectangle.cs (2)
47
StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.
Fill
));
191
case Stretch.
Fill
:
src\Framework\System\Windows\Shapes\Shape.cs (1)
642
if (mode != Stretch.
Fill
&& !hasThinDimension)