3 overrides of Width
PresentationCore (3)
System\Windows\InterOp\D3DImage.cs (1)
397public sealed override double Width
System\Windows\Media\DrawingImage.cs (1)
40public 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)
68return new Size(Width, Height);
PresentationFramework (7)
MS\Internal\AppModel\IconHelper.cs (6)
130double aspectRatio = img.Width / img.Height; 133if (img.Width <= renderSize.Width && img.Height <= renderSize.Height) 135drawingDimensions = new Rect((renderSize.Width - img.Width) / 2, (renderSize.Height - img.Height) / 2, img.Width, img.Height); 139double scaledRenderWidth = (img.Width / img.Height) * renderSize.Width; 144double scaledRenderHeight = (img.Height / img.Width) * renderSize.Height;
System\Windows\Documents\FixedElement.cs (1)
296image.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)
605if ((imageSource != null) && (imageSource.Height > 0) && (imageSource.Width > 0))
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
233double aspectRatio = img.Width / img.Height; 236if (img.Width <= renderSize.Width && img.Height <= renderSize.Height) 238drawingDimensions = new Rect((renderSize.Width - img.Width) / 2, (renderSize.Height - img.Height) / 2, img.Width, img.Height); 242double scaledRenderWidth = (img.Width / img.Height) * renderSize.Width; 247double scaledRenderHeight = (img.Height / img.Width) * renderSize.Height;