14 references to Uniform
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\StretchValidation.cs (1)
44
(value == Stretch.
Uniform
) ||
PresentationFramework (11)
System\Windows\Controls\Image.cs (1)
399
Stretch.
Uniform
,
System\Windows\Controls\MediaElement.cs (1)
91
Stretch.
Uniform
,
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
163
Stretch.
Uniform
,
System\Windows\Controls\ViewBox.cs (4)
104
new FrameworkPropertyMetadata(Stretch.
Uniform
, FrameworkPropertyMetadataOptions.AffectsMeasure),
110
return ( s == Stretch.
Uniform
384
if ( (stretch == Stretch.
Uniform
|| stretch == Stretch.UniformToFill || stretch == Stretch.Fill)
398
case Stretch.
Uniform
: //Find minimum scale that we use for both axes
System\Windows\Documents\XamlToRtfWriter.cs (1)
2284
return System.Windows.Media.Stretch.
Uniform
;
System\Windows\Shapes\Ellipse.cs (1)
140
case Stretch.
Uniform
:
System\Windows\Shapes\Rectangle.cs (1)
193
case Stretch.
Uniform
:
System\Windows\Shapes\Shape.cs (1)
639
if (mode == Stretch.
Uniform
)
ReachFramework (2)
AlphaFlattener\Utility.cs (1)
1688
case Stretch.
Uniform
:
Serialization\VisualSerializer.cs (1)
475
case Stretch.
Uniform
: