4 types derived from ImageSource
PresentationCore (4)
System\Windows\InterOp\D3DImage.cs (1)
40
public class D3DImage :
ImageSource
, IAppDomainShutdownListener
System\Windows\Media\DrawingImage.cs (1)
30
public sealed partial class DrawingImage :
ImageSource
System\Windows\Media\Generated\DrawingImage.cs (1)
45
sealed partial class DrawingImage :
ImageSource
System\Windows\Media\Imaging\BitmapSource.cs (1)
36
public abstract class BitmapSource :
ImageSource
, DUCE.IResource
181 references to ImageSource
Microsoft.VisualStudio.LanguageServices (8)
CallHierarchy\CallHierarchyItem.cs (3)
28
private readonly Func<
ImageSource
> _glyphCreator;
36
Func<
ImageSource
> glyphCreator,
88
public
ImageSource
DisplayGlyph
CallHierarchy\FieldInitializerItem.cs (2)
15
public FieldInitializerItem(string name, string sortText,
ImageSource
displayGlyph, IEnumerable<CallHierarchyDetail> details)
25
public
ImageSource
DisplayGlyph { get; }
Utilities\GlyphExtensions.cs (1)
213
public static
ImageSource
GetImageSource(this Glyph glyph, IGlyphService glyphService)
Utilities\SymbolViewModel.cs (1)
49
public
ImageSource
Glyph => Symbol.GetGlyph().GetImageSource(_glyphService);
ValueTracking\TreeItemViewModel.cs (1)
36
public
ImageSource
GlyphImage => _glyph.GetImageSource(_glyphService);
PresentationCore (56)
System\Windows\InterOp\D3DImage.cs (2)
415
return
ImageSource
.PixelsToDIPs(_dpiX, (int)_pixelWidth);
430
return
ImageSource
.PixelsToDIPs(_dpiY, (int)_pixelHeight);
System\Windows\Media\BoundsDrawingContextWalker.cs (1)
280
ImageSource
imageSource,
System\Windows\Media\DrawingDrawingContext.cs (2)
550
ImageSource
imageSource,
574
ImageSource
imageSource,
System\Windows\Media\Generated\DrawingContext.cs (2)
270
ImageSource
imageSource,
286
ImageSource
imageSource,
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (2)
347
ImageSource
imageSource,
369
ImageSource
imageSource,
System\Windows\Media\Generated\DrawingContextWalker.cs (2)
298
ImageSource
imageSource,
317
ImageSource
imageSource,
System\Windows\Media\Generated\ImageBrush.cs (10)
104
ImageSource
oldV = (
ImageSource
) e.OldValue;
105
ImageSource
newV = (
ImageSource
) e.NewValue;
135
public
ImageSource
ImageSource
139
return (
ImageSource
) GetValue(ImageSourceProperty);
190
ImageSource
vImageSource = ImageSource;
271
ImageSource
vImageSource = ImageSource;
292
ImageSource
vImageSource = ImageSource;
398
typeof(
ImageSource
),
System\Windows\Media\Generated\ImageDrawing.cs (10)
104
ImageSource
oldV = (
ImageSource
) e.OldValue;
105
ImageSource
newV = (
ImageSource
) e.NewValue;
142
public
ImageSource
ImageSource
146
return (
ImageSource
) GetValue(ImageSourceProperty);
210
ImageSource
vImageSource = ImageSource;
242
ImageSource
vImageSource = ImageSource;
259
ImageSource
vImageSource = ImageSource;
356
typeof(
ImageSource
),
System\Windows\Media\Generated\ImageSource.cs (4)
59
public new
ImageSource
Clone()
61
return (
ImageSource
)base.Clone();
68
public new
ImageSource
CloneCurrentValue()
70
return (
ImageSource
)base.CloneCurrentValue();
System\Windows\Media\Generated\RenderData.cs (4)
1271
(
ImageSource
)DependentLookup(data->hImageSource),
1282
(data->hImageSource == 0) ? null : (
ImageSource
)DependentLookup(data->hImageSource),
1620
(
ImageSource
)DependentLookup(data->hImageSource),
1631
(
ImageSource
)DependentLookup(data->hImageSource),
System\Windows\Media\Generated\RenderDataDrawingContext.cs (2)
611
ImageSource
imageSource,
660
ImageSource
imageSource,
System\Windows\Media\HitTestDrawingContextWalker.cs (1)
172
ImageSource
imageSource,
System\Windows\Media\ImageBrush.cs (1)
50
public ImageBrush(
ImageSource
image)
System\Windows\Media\ImageDrawing.cs (1)
39
public ImageDrawing(
ImageSource
imageSource, Rect rect)
System\Windows\Media\ImageSourceConverter.cs (6)
69
if (!(context.Instance is
ImageSource
))
75
ImageSource
value = (
ImageSource
)context.Instance;
208
if (destinationType != null && value is
ImageSource
)
210
ImageSource
instance = (
ImageSource
)value;
System\Windows\Media\ImageSourceValueSerializer.cs (4)
41
ImageSource
imageSource = value as
ImageSource
;
72
ImageSource
imageSource = value as
ImageSource
;
System\Windows\Media\Imaging\BitmapSource.cs (2)
458
return
ImageSource
.PixelsToDIPs(this.DpiX, this.PixelWidth);
466
return
ImageSource
.PixelsToDIPs(this.DpiY, this.PixelHeight);
PresentationFramework (29)
MS\Internal\AppModel\IconHelper.cs (3)
88
public static void GetIconHandlesFromImageSource(
ImageSource
image, out NativeMethods.IconHandle largeIconHandle, out NativeMethods.IconHandle smallIconHandle)
96
public static NativeMethods.IconHandle CreateIconHandleFromImageSource(
ImageSource
image, Size size)
130
private static BitmapSource GenerateBitmapSource(
ImageSource
img, Size renderSize)
System\Windows\Controls\Image.cs (10)
78
public
ImageSource
Source
80
get { return (
ImageSource
) GetValue(SourceProperty); }
116
typeof(
ImageSource
),
257
ImageSource
imageSource = Source;
318
ImageSource
imageSource = Source;
463
ImageSource
oldValue = (
ImageSource
)e.OldValue;
464
ImageSource
newValue = (
ImageSource
)e.NewValue;
478
private static void UpdateBaseUri(DependencyObject d,
ImageSource
source)
System\Windows\Documents\FixedSOMImage.cs (1)
71
ImageSource
source = ((ImageBrush)(path.Fill)).ImageSource;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
381
case 285: t = () => typeof(
ImageSource
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5316
typeof(System.Windows.Media.
ImageSource
),
System\Windows\Markup\KnownTypes.cs (1)
5839
case KnownElements.ImageSource: t = typeof(System.Windows.Media.
ImageSource
); break;
System\Windows\Shell\TaskbarItemInfo.cs (3)
120
typeof(
ImageSource
),
130
public
ImageSource
Overlay
132
get { return (
ImageSource
)GetValue(OverlayProperty); }
System\Windows\Shell\ThumbButtonInfo.cs (3)
58
typeof(
ImageSource
),
66
public
ImageSource
ImageSource
68
get { return (
ImageSource
)GetValue(ImageSourceProperty); }
System\Windows\Window.cs (6)
869
typeof(
ImageSource
),
893
public
ImageSource
Icon
903
return (
ImageSource
) GetValue(IconProperty);
5106
w.OnIconChanged(e.NewValue as
ImageSource
);
5110
private void OnIconChanged(
ImageSource
newIcon)
7326
private
ImageSource
_icon;
ReachFramework (7)
AlphaFlattener\Interfaces.cs (1)
30
void DrawImage(
ImageSource
image, Rect rectangle);
AlphaFlattener\MetroDevice.cs (2)
250
public void DrawImage(
ImageSource
image, Rect rectangle)
698
void IMetroDrawingContext.DrawImage(
ImageSource
image, Rect rectangle)
Serialization\DrawingContextFlattener.cs (2)
288
public void DrawImage(
ImageSource
image, Rect rectangle)
910
public void DrawImage(
ImageSource
image, Rect rectangle)
Serialization\VisualSerializer.cs (2)
611
protected void WriteBitmap(string attribute,
ImageSource
imageSource)
1942
void IMetroDrawingContext.DrawImage(
ImageSource
image, Rect rectangle)
System.Windows.Controls.Ribbon (81)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
30
ImageSource
imageSource = value as
ImageSource
;
31
ImageSource
returnImageSource = null;
53
private
ImageSource
GetSmallIconImageSource(
ImageSource
imageSource)
227
private static BitmapSource GenerateBitmapSource(
ImageSource
img, Size renderSize)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (4)
84
public
ImageSource
LargeImageSource
99
public
ImageSource
SmallImageSource
159
public
ImageSource
ToolTipImageSource
204
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (4)
83
public
ImageSource
LargeImageSource
98
public
ImageSource
SmallImageSource
158
public
ImageSource
ToolTipImageSource
203
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (16)
45
DependencyProperty.RegisterAttached("LargeImageSource", typeof(
ImageSource
), typeof(RibbonControlService),
51
public static
ImageSource
GetLargeImageSource(DependencyObject element)
54
return (
ImageSource
)element.GetValue(LargeImageSourceProperty);
60
public static void SetLargeImageSource(DependencyObject element,
ImageSource
value)
76
DependencyProperty.RegisterAttached("SmallImageSource", typeof(
ImageSource
), typeof(RibbonControlService),
82
public static
ImageSource
GetSmallImageSource(DependencyObject element)
85
return (
ImageSource
)element.GetValue(SmallImageSourceProperty);
91
public static void SetSmallImageSource(DependencyObject element,
ImageSource
value)
196
DependencyProperty.RegisterAttached("ToolTipImageSource", typeof(
ImageSource
), typeof(RibbonControlService), new FrameworkPropertyMetadata(null));
201
public static
ImageSource
GetToolTipImageSource(DependencyObject element)
204
return (
ImageSource
)element.GetValue(ToolTipImageSourceProperty);
210
public static void SetToolTipImageSource(DependencyObject element,
ImageSource
value)
271
DependencyProperty.RegisterAttached("ToolTipFooterImageSource", typeof(
ImageSource
), typeof(RibbonControlService), new FrameworkPropertyMetadata(null));
276
public static
ImageSource
GetToolTipFooterImageSource(DependencyObject element)
279
return (
ImageSource
)element.GetValue(ToolTipFooterImageSourceProperty);
285
public static void SetToolTipFooterImageSource(DependencyObject element,
ImageSource
value)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2979
public
ImageSource
SmallImageSource
3024
public
ImageSource
ToolTipImageSource
3069
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
656
public
ImageSource
ToolTipImageSource
701
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
299
public
ImageSource
SmallImageSource
314
public
ImageSource
LargeImageSource
359
public
ImageSource
ToolTipImageSource
404
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
61
ImageSource
toolTipImageSource = RibbonControlService.GetToolTipImageSource(d);
64
ImageSource
toolTipFooterImageSource = RibbonControlService.GetToolTipFooterImageSource(d);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
103
public
ImageSource
LargeImageSource
118
public
ImageSource
SmallImageSource
178
public
ImageSource
ToolTipImageSource
223
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
122
public
ImageSource
ToolTipImageSource
167
public
ImageSource
ToolTipFooterImageSource
182
typeof(
ImageSource
),
189
public
ImageSource
ImageSource
191
get { return (
ImageSource
)GetValue(ImageSourceProperty); }
205
typeof(
ImageSource
),
219
public
ImageSource
QuickAccessToolBarImageSource
221
get { return (
ImageSource
)GetValue(QuickAccessToolBarImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (4)
83
public
ImageSource
LargeImageSource
98
public
ImageSource
SmallImageSource
158
public
ImageSource
ToolTipImageSource
203
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (6)
162
typeof(
ImageSource
),
169
public
ImageSource
DropDownToolTipImageSource
171
get { return (
ImageSource
)GetValue(DropDownToolTipImageSourceProperty); }
216
typeof(
ImageSource
),
223
public
ImageSource
DropDownToolTipFooterImageSource
225
get { return (
ImageSource
)GetValue(DropDownToolTipFooterImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (4)
91
public
ImageSource
DropDownToolTipImageSource
93
get { return (
ImageSource
)GetValue(DropDownToolTipImageSourceProperty); }
142
public
ImageSource
DropDownToolTipFooterImageSource
144
get { return (
ImageSource
)GetValue(DropDownToolTipFooterImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (4)
278
public
ImageSource
LargeImageSource
293
public
ImageSource
SmallImageSource
353
public
ImageSource
ToolTipImageSource
398
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (4)
90
public
ImageSource
LargeImageSource
105
public
ImageSource
SmallImageSource
165
public
ImageSource
ToolTipImageSource
210
public
ImageSource
ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
135
public
ImageSource
ImageSource
137
get { return (
ImageSource
)GetValue(ImageSourceProperty); }
145
DependencyProperty.Register("ImageSource", typeof(
ImageSource
), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged)));
213
public
ImageSource
FooterImageSource
215
get { return (
ImageSource
)GetValue(FooterImageSourceProperty); }
223
DependencyProperty.Register("FooterImageSource", typeof(
ImageSource
), typeof(RibbonToolTip), new UIPropertyMetadata(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));