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)
404Stretch.Uniform,
src\Framework\System\Windows\Controls\MediaElement.cs (1)
96Stretch.Uniform,
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
165Stretch.Uniform,
src\Framework\System\Windows\Controls\ViewBox.cs (4)
112new FrameworkPropertyMetadata(Stretch.Uniform, FrameworkPropertyMetadataOptions.AffectsMeasure), 118return ( s == Stretch.Uniform 393if ( (stretch == Stretch.Uniform || stretch == Stretch.UniformToFill || stretch == Stretch.Fill) 407case Stretch.Uniform: //Find minimum scale that we use for both axes
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2285return System.Windows.Media.Stretch.Uniform;
src\Framework\System\Windows\Shapes\Ellipse.cs (1)
143case Stretch.Uniform:
src\Framework\System\Windows\Shapes\Rectangle.cs (1)
196case Stretch.Uniform:
src\Framework\System\Windows\Shapes\Shape.cs (1)
644if (mode == Stretch.Uniform)
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
218controlBrush.Stretch = Stretch.Uniform;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
221icon.Stretch = Stretch.Uniform;