语言

FormatConvertedBitmap.DestinationPalette 属性

定义

获取或设置要应用于位图的调色板(如果为格式编制索引)。

public:
 property System::Windows::Media::Imaging::BitmapPalette ^ DestinationPalette { System::Windows::Media::Imaging::BitmapPalette ^ get(); void set(System::Windows::Media::Imaging::BitmapPalette ^ value); };
public System.Windows.Media.Imaging.BitmapPalette DestinationPalette { get; set; }
member this.DestinationPalette : System.Windows.Media.Imaging.BitmapPalette with get, set
Public Property DestinationPalette As BitmapPalette

属性值

要应用于位图的目标调色板。 默认值为 null。

注解

如果要对 DestinationFormat此属性使用索引像素格式,则必须设置此属性。

Dependency 属性信息

项目 价值
标识符字段 DestinationPaletteProperty
元数据属性设置为 true None

适用于

另请参阅