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