28 references to StretchDirection
PresentationFramework (28)
MS\Internal\Documents\DocumentGridPage.cs (1)
283StretchDirection = StretchDirection.Both,
System\Windows\Controls\Image.cs (3)
93public StretchDirection StretchDirection 95get { return (StretchDirection)GetValue(StretchDirectionProperty); } 398StretchDirection.Both,
System\Windows\Controls\MediaElement.cs (3)
91StretchDirection.Both, 308public StretchDirection StretchDirection 310get { return (StretchDirection) GetValue(StretchDirectionProperty); }
System\Windows\Controls\Primitives\DocumentPageView.cs (3)
130public StretchDirection StretchDirection 132get { return (StretchDirection)GetValue(StretchDirectionProperty); } 168StretchDirection.DownOnly,
System\Windows\Controls\ViewBox.cs (13)
117typeof(StretchDirection), // Property type 119new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure), 124StretchDirection sd = (StretchDirection)value; 125return ( sd == StretchDirection.Both 126|| sd == StretchDirection.DownOnly 127|| sd == StretchDirection.UpOnly); 277public StretchDirection StretchDirection 279get { return (StretchDirection)GetValue(StretchDirectionProperty); } 368StretchDirection stretchDirection) 412case StretchDirection.UpOnly: 417case StretchDirection.DownOnly: 422case StretchDirection.Both:
System\Windows\Documents\XamlToRtfWriter.cs (5)
2065System.Windows.Controls.StretchDirection imageStretchDirection = GetImageStretchDirection(documentNode.FormatState.ImageStretchDirection); 2287private System.Windows.Controls.StretchDirection GetImageStretchDirection(string imageStretchDirection) 2291return System.Windows.Controls.StretchDirection.UpOnly; 2295return System.Windows.Controls.StretchDirection.DownOnly; 2299return System.Windows.Controls.StretchDirection.Both;