3 overrides of Height
PresentationCore (3)
System\Windows\InterOp\D3DImage.cs (1)
412
public sealed override double
Height
System\Windows\Media\DrawingImage.cs (1)
53
public override double
Height
System\Windows\Media\Imaging\BitmapSource.cs (1)
411
public override double
Height
16 references to Height
PresentationCore (1)
System\Windows\Media\ImageSource.cs (1)
68
return new Size(Width,
Height
);
PresentationFramework (7)
MS\Internal\AppModel\IconHelper.cs (6)
130
double aspectRatio = img.Width / img.
Height
;
133
if (img.Width <= renderSize.Width && img.
Height
<= renderSize.Height)
135
drawingDimensions = new Rect((renderSize.Width - img.Width) / 2, (renderSize.Height - img.
Height
) / 2, img.Width, img.
Height
);
139
double scaledRenderWidth = (img.Width / img.
Height
) * renderSize.Width;
144
double scaledRenderHeight = (img.
Height
/ img.Width) * renderSize.Height;
System\Windows\Documents\FixedElement.cs (1)
303
image.Height = image.Source.
Height
;
ReachFramework (2)
AlphaFlattener\Utility.cs (1)
1550
bounds = new Rect(0, 0, imageBrush.ImageSource.Width, imageBrush.ImageSource.
Height
);
Serialization\VisualSerializer.cs (1)
605
if ((imageSource != null) && (imageSource.
Height
> 0) && (imageSource.Width > 0))
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
233
double aspectRatio = img.Width / img.
Height
;
236
if (img.Width <= renderSize.Width && img.
Height
<= renderSize.Height)
238
drawingDimensions = new Rect((renderSize.Width - img.Width) / 2, (renderSize.Height - img.
Height
) / 2, img.Width, img.
Height
);
242
double scaledRenderWidth = (img.Width / img.
Height
) * renderSize.Width;
247
double scaledRenderHeight = (img.
Height
/ img.Width) * renderSize.Height;