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