14 references to Uniform
PresentationCore (1)
Shared\MS\Internal\Generated\StretchValidation.cs (1)
44
(value == Stretch.
Uniform
) ||
PresentationFramework (11)
src\Framework\System\Windows\Controls\Image.cs (1)
404
Stretch.
Uniform
,
src\Framework\System\Windows\Controls\MediaElement.cs (1)
96
Stretch.
Uniform
,
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
165
Stretch.
Uniform
,
src\Framework\System\Windows\Controls\ViewBox.cs (4)
112
new FrameworkPropertyMetadata(Stretch.
Uniform
, FrameworkPropertyMetadataOptions.AffectsMeasure),
118
return ( s == Stretch.
Uniform
393
if ( (stretch == Stretch.
Uniform
|| stretch == Stretch.UniformToFill || stretch == Stretch.Fill)
407
case Stretch.
Uniform
: //Find minimum scale that we use for both axes
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2285
return System.Windows.Media.Stretch.
Uniform
;
src\Framework\System\Windows\Shapes\Ellipse.cs (1)
143
case Stretch.
Uniform
:
src\Framework\System\Windows\Shapes\Rectangle.cs (1)
196
case Stretch.
Uniform
:
src\Framework\System\Windows\Shapes\Shape.cs (1)
644
if (mode == Stretch.
Uniform
)
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
218
controlBrush.Stretch = Stretch.
Uniform
;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
221
icon.Stretch = Stretch.
Uniform
;