28 references to StretchDirection
PresentationFramework (28)
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (1)
335_documentPageView.StretchDirection = StretchDirection.Both;
src\Framework\System\Windows\Controls\Image.cs (3)
107public StretchDirection StretchDirection 109get { return (StretchDirection)GetValue(StretchDirectionProperty); } 412StretchDirection.Both,
src\Framework\System\Windows\Controls\MediaElement.cs (3)
104StretchDirection.Both, 321public StretchDirection StretchDirection 323get { return (StretchDirection) GetValue(StretchDirectionProperty); }
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (3)
137public StretchDirection StretchDirection 139get { return (StretchDirection)GetValue(StretchDirectionProperty); } 175StretchDirection.DownOnly,
src\Framework\System\Windows\Controls\ViewBox.cs (13)
132typeof(StretchDirection), // Property type 134new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure), 139StretchDirection sd = (StretchDirection)value; 140return ( sd == StretchDirection.Both 141|| sd == StretchDirection.DownOnly 142|| sd == StretchDirection.UpOnly); 292public StretchDirection StretchDirection 294get { return (StretchDirection)GetValue(StretchDirectionProperty); } 384StretchDirection stretchDirection) 428case StretchDirection.UpOnly: 433case StretchDirection.DownOnly: 438case StretchDirection.Both:
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (5)
2068System.Windows.Controls.StretchDirection imageStretchDirection = GetImageStretchDirection(documentNode.FormatState.ImageStretchDirection); 2290private System.Windows.Controls.StretchDirection GetImageStretchDirection(string imageStretchDirection) 2294return System.Windows.Controls.StretchDirection.UpOnly; 2298return System.Windows.Controls.StretchDirection.DownOnly; 2302return System.Windows.Controls.StretchDirection.Both;