6 instantiations of BitmapPalette
PresentationCore (6)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (3)
608
_palette = new
BitmapPalette
(paletteHandle);
678
palette = new
BitmapPalette
(unmanagedPalette);
853
palette = new
BitmapPalette
(unmanagedPalette);
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
669
palette = new
BitmapPalette
(unmanagedPalette);
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (1)
222
palette = new
BitmapPalette
(unmanagedPalette);
Core\CSharp\System\Windows\Media\Imaging\BitmapPalettes.cs (1)
323
palette = new Imaging.
BitmapPalette
(type, hasAlpha);
71 references to BitmapPalette
PresentationCore (68)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (7)
587
public virtual
BitmapPalette
Palette
597
SafeMILHandle /* IWICBitmapPalette */ paletteHandle =
BitmapPalette
.CreateInternalPalette();
669
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
670
BitmapPalette
palette = null;
844
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
845
BitmapPalette
palette = null;
1906
private
BitmapPalette
_palette = null;
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (2)
313
public virtual
BitmapPalette
Palette
900
private
BitmapPalette
_palette;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (2)
660
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
661
BitmapPalette
palette = null;
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (3)
188
static internal
BitmapPalette
CreateFromBitmapSource(BitmapSource source)
197
BitmapPalette
palette;
274
internal static bool DoesPaletteHaveAlpha(
BitmapPalette
palette)
Core\CSharp\System\Windows\Media\Imaging\BitmapPalettes.cs (33)
31
static public Imaging.
BitmapPalette
BlackAndWhite
42
static public Imaging.
BitmapPalette
BlackAndWhiteTransparent
53
static public Imaging.
BitmapPalette
Halftone8
64
static public Imaging.
BitmapPalette
Halftone8Transparent
75
static public Imaging.
BitmapPalette
Halftone27
86
static public Imaging.
BitmapPalette
Halftone27Transparent
98
static public Imaging.
BitmapPalette
Halftone64
109
static public Imaging.
BitmapPalette
Halftone64Transparent
120
static public Imaging.
BitmapPalette
Halftone125
131
static public Imaging.
BitmapPalette
Halftone125Transparent
142
static public Imaging.
BitmapPalette
Halftone216
153
static public Imaging.
BitmapPalette
Halftone216Transparent
164
static public Imaging.
BitmapPalette
Halftone252
175
static public Imaging.
BitmapPalette
Halftone252Transparent
186
static public Imaging.
BitmapPalette
Halftone256
197
static public Imaging.
BitmapPalette
Halftone256Transparent
208
static public Imaging.
BitmapPalette
Gray4
219
static public Imaging.
BitmapPalette
Gray4Transparent
230
static public Imaging.
BitmapPalette
Gray16
241
static public Imaging.
BitmapPalette
Gray16Transparent
252
static public Imaging.
BitmapPalette
Gray256
263
static public Imaging.
BitmapPalette
Gray256Transparent
274
static public Imaging.
BitmapPalette
WebPalette
285
static public Imaging.
BitmapPalette
WebPaletteTransparent
293
static internal Imaging.
BitmapPalette
FromMILPaletteType(WICPaletteType type, bool hasAlpha)
299
Imaging.
BitmapPalette
palette;
300
Imaging.
BitmapPalette
[] palettes;
332
static private Imaging.
BitmapPalette
[] transparentPalettes
338
s_transparentPalettes = new Imaging.
BitmapPalette
[c_maxPalettes];
345
static private Imaging.
BitmapPalette
[] opaquePalettes
351
s_opaquePalettes = new Imaging.
BitmapPalette
[c_maxPalettes];
358
static private Imaging.
BitmapPalette
[] s_transparentPalettes;
359
static private Imaging.
BitmapPalette
[] s_opaquePalettes;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (9)
61
Imaging.
BitmapPalette
palette,
100
Imaging.
BitmapPalette
palette,
259
public virtual Imaging.
BitmapPalette
Palette
273
_palette = Imaging.
BitmapPalette
.CreateFromBitmapSource(this);
1135
internal static PixelFormat GetClosestDUCEFormat(PixelFormat format,
BitmapPalette
palette)
1166
else if (format.HasAlpha ||
BitmapPalette
.DoesPaletteHaveAlpha(palette))
1186
BitmapPalette
palette
1715
internal
BitmapPalette
_palette = null;
1921
BitmapPalette
palette = bitmapSource.Palette;
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (3)
77
BitmapPalette
palette,
150
BitmapPalette
palette,
475
BitmapPalette
palette,
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (3)
54
public FormatConvertedBitmap(BitmapSource source, PixelFormat destinationFormat,
BitmapPalette
destinationPalette, double alphaThreshold)
252
_destinationPalette = e.NewValue as
BitmapPalette
;
357
private
BitmapPalette
_destinationPalette;
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
170
public
BitmapPalette
DestinationPalette
174
return (
BitmapPalette
) GetValue(DestinationPaletteProperty);
360
internal static
BitmapPalette
s_DestinationPalette = null;
408
typeof(
BitmapPalette
),
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
108
public override
BitmapPalette
Palette
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
89
BitmapPalette
palette
PresentationFramework (3)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
126
case 34: t = () => typeof(
BitmapPalette
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2020
typeof(System.Windows.Media.Imaging.
BitmapPalette
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5578
case KnownElements.BitmapPalette: t = typeof(System.Windows.Media.Imaging.
BitmapPalette
); break;