3 overrides of Width
PresentationCore (3)
System\Windows\InterOp\D3DImage.cs (1)
396public sealed override double Width
System\Windows\Media\DrawingImage.cs (1)
39public override double Width
System\Windows\Media\Imaging\BitmapSource.cs (1)
398public override double Width
16 references to Width
PresentationCore (1)
System\Windows\Media\ImageSource.cs (1)
67return new Size(Width, Height);
PresentationFramework (7)
MS\Internal\AppModel\IconHelper.cs (6)
129double aspectRatio = img.Width / img.Height; 132if (img.Width <= renderSize.Width && img.Height <= renderSize.Height) 134drawingDimensions = new Rect((renderSize.Width - img.Width) / 2, (renderSize.Height - img.Height) / 2, img.Width, img.Height); 138double scaledRenderWidth = (img.Width / img.Height) * renderSize.Width; 143double scaledRenderHeight = (img.Height / img.Width) * renderSize.Height;
System\Windows\Documents\FixedElement.cs (1)
301image.Width = image.Source.Width;
ReachFramework (2)
AlphaFlattener\Utility.cs (1)
1549bounds = new Rect(0, 0, imageBrush.ImageSource.Width, imageBrush.ImageSource.Height);
Serialization\VisualSerializer.cs (1)
604if ((imageSource != null) && (imageSource.Height > 0) && (imageSource.Width > 0))
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
232double aspectRatio = img.Width / img.Height; 235if (img.Width <= renderSize.Width && img.Height <= renderSize.Height) 237drawingDimensions = new Rect((renderSize.Width - img.Width) / 2, (renderSize.Height - img.Height) / 2, img.Width, img.Height); 241double scaledRenderWidth = (img.Width / img.Height) * renderSize.Width; 246double scaledRenderHeight = (img.Height / img.Width) * renderSize.Height;