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