28 references to StretchDirection
PresentationFramework (28)
MS\Internal\Documents\DocumentGridPage.cs (1)
296_documentPageView.StretchDirection = StretchDirection.Both;
System\Windows\Controls\Image.cs (3)
102public StretchDirection StretchDirection 104get { return (StretchDirection)GetValue(StretchDirectionProperty); } 407StretchDirection.Both,
System\Windows\Controls\MediaElement.cs (3)
99StretchDirection.Both, 316public StretchDirection StretchDirection 318get { return (StretchDirection) GetValue(StretchDirectionProperty); }
System\Windows\Controls\Primitives\DocumentPageView.cs (3)
135public StretchDirection StretchDirection 137get { return (StretchDirection)GetValue(StretchDirectionProperty); } 173StretchDirection.DownOnly,
System\Windows\Controls\ViewBox.cs (13)
124typeof(StretchDirection), // Property type 126new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure), 131StretchDirection sd = (StretchDirection)value; 132return ( sd == StretchDirection.Both 133|| sd == StretchDirection.DownOnly 134|| sd == StretchDirection.UpOnly); 284public StretchDirection StretchDirection 286get { return (StretchDirection)GetValue(StretchDirectionProperty); } 375StretchDirection stretchDirection) 419case StretchDirection.UpOnly: 424case StretchDirection.DownOnly: 429case StretchDirection.Both:
System\Windows\Documents\XamlToRtfWriter.cs (5)
2067System.Windows.Controls.StretchDirection imageStretchDirection = GetImageStretchDirection(documentNode.FormatState.ImageStretchDirection); 2289private System.Windows.Controls.StretchDirection GetImageStretchDirection(string imageStretchDirection) 2293return System.Windows.Controls.StretchDirection.UpOnly; 2297return System.Windows.Controls.StretchDirection.DownOnly; 2301return System.Windows.Controls.StretchDirection.Both;