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