3 overrides of Width
PresentationCore (3)
Core\CSharp\System\Windows\Interop\D3DImage.cs (1)
447
public sealed override double
Width
Core\CSharp\System\Windows\Media\DrawingImage.cs (1)
54
public override double
Width
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
456
public override double
Width
8 references to Width
PresentationCore (1)
Core\CSharp\System\Windows\Media\ImageSource.cs (1)
81
return new Size(
Width
, Height);
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\IconHelper.cs (6)
163
double aspectRatio = img.
Width
/ img.Height;
166
if (img.
Width
<= renderSize.Width && img.Height <= renderSize.Height)
168
drawingDimensions = new Rect((renderSize.Width - img.
Width
) / 2, (renderSize.Height - img.Height) / 2, img.
Width
, img.Height);
172
double scaledRenderWidth = (img.
Width
/ img.Height) * renderSize.Width;
177
double scaledRenderHeight = (img.Height / img.
Width
) * renderSize.Height;
src\Framework\System\Windows\Documents\FixedElement.cs (1)
310
image.Width = image.Source.
Width
;