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