10 references to UniformToFill
PresentationCore (1)
Shared\MS\Internal\Generated\StretchValidation.cs (1)
45
(value == Stretch.
UniformToFill
);
PresentationFramework (9)
src\Framework\System\Windows\Controls\ViewBox.cs (3)
121
|| s == Stretch.
UniformToFill
);
393
if ( (stretch == Stretch.Uniform || stretch == Stretch.
UniformToFill
|| stretch == Stretch.Fill)
412
case Stretch.
UniformToFill
: //Find maximum scale that we use for both axes
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2281
return System.Windows.Media.Stretch.
UniformToFill
;
src\Framework\System\Windows\Shapes\Ellipse.cs (2)
90
if (Stretch == Stretch.
UniformToFill
)
155
case Stretch.
UniformToFill
:
src\Framework\System\Windows\Shapes\Rectangle.cs (2)
142
if (Stretch == Stretch.
UniformToFill
)
208
case Stretch.
UniformToFill
:
src\Framework\System\Windows\Shapes\Shape.cs (1)
659
Debug.Assert(mode == Stretch.
UniformToFill
);