28 references to StretchDirection
PresentationFramework (28)
MS\Internal\Documents\DocumentGridPage.cs (1)
283_documentPageView.StretchDirection = StretchDirection.Both;
System\Windows\Controls\Image.cs (3)
94public StretchDirection StretchDirection 96get { return (StretchDirection)GetValue(StretchDirectionProperty); } 399StretchDirection.Both,
System\Windows\Controls\MediaElement.cs (3)
92StretchDirection.Both, 309public StretchDirection StretchDirection 311get { return (StretchDirection) GetValue(StretchDirectionProperty); }
System\Windows\Controls\Primitives\DocumentPageView.cs (3)
131public StretchDirection StretchDirection 133get { return (StretchDirection)GetValue(StretchDirectionProperty); } 169StretchDirection.DownOnly,
System\Windows\Controls\ViewBox.cs (13)
118typeof(StretchDirection), // Property type 120new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure), 125StretchDirection sd = (StretchDirection)value; 126return ( sd == StretchDirection.Both 127|| sd == StretchDirection.DownOnly 128|| sd == StretchDirection.UpOnly); 278public StretchDirection StretchDirection 280get { return (StretchDirection)GetValue(StretchDirectionProperty); } 369StretchDirection stretchDirection) 413case StretchDirection.UpOnly: 418case StretchDirection.DownOnly: 423case StretchDirection.Both:
System\Windows\Documents\XamlToRtfWriter.cs (5)
2066System.Windows.Controls.StretchDirection imageStretchDirection = GetImageStretchDirection(documentNode.FormatState.ImageStretchDirection); 2288private System.Windows.Controls.StretchDirection GetImageStretchDirection(string imageStretchDirection) 2292return System.Windows.Controls.StretchDirection.UpOnly; 2296return System.Windows.Controls.StretchDirection.DownOnly; 2300return System.Windows.Controls.StretchDirection.Both;