16 references to Fill
PresentationCore (3)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\StretchValidation.cs (1)
43
(value == Stretch.
Fill
) ||
System\Windows\Media\Generated\TileBrush.cs (2)
392
internal const Stretch c_Stretch = Stretch.
Fill
;
476
Stretch.
Fill
,
PresentationFramework (9)
System\Windows\Controls\ViewBox.cs (3)
112
|| s == Stretch.
Fill
384
if ( (stretch == Stretch.Uniform || stretch == Stretch.UniformToFill || stretch == Stretch.
Fill
)
408
case Stretch.
Fill
: //We already computed the fill scale factors above, so just use them
System\Windows\Documents\XamlToRtfWriter.cs (1)
2276
return System.Windows.Media.Stretch.
Fill
;
System\Windows\Shapes\Ellipse.cs (2)
44
StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.
Fill
));
135
case Stretch.
Fill
:
System\Windows\Shapes\Rectangle.cs (2)
44
StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.
Fill
));
188
case Stretch.
Fill
:
System\Windows\Shapes\Shape.cs (1)
637
if (mode != Stretch.
Fill
&& !hasThinDimension)
ReachFramework (4)
AlphaFlattener\BrushProxy.cs (2)
2205
if ((tA != null) && (tA.Stretch == Stretch.
Fill
) && (tA.TileMode == TileMode.Tile))
2225
if ((tB != null) && (tB.Stretch == Stretch.
Fill
))
AlphaFlattener\Utility.cs (1)
1693
case Stretch.
Fill
:
Serialization\VisualSerializer.cs (1)
489
case Stretch.
Fill
: