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