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