Share via


ColorConvertedBitmap Markup Extension

Provides a way to specify a bitmap source that does not have an embedded profile. Color contexts / profiles are specified by URI, as is the image source URI.

XAML Attribute Usage

<object property="{ColorConvertedBitmap imagesource sourceiic destinationiic}" .../>

XAML Values

imagesource

The URI of the nonprofiled bitmap.

sourceiic

The URI of the source profile configuration.

destinationiic

The URI of the destination profile configuration

Remarks

This markup extension is intended to fill a related set of image-source property values such as UriSource.

Attribute syntax is the most common syntax used with this markup extension. ColorConvertedBitmap (or ColorConvertedBitmapExtension) cannot be used in property element syntax, because the values can only be set as values on the initial constructor, which is the string following the extension identifier.

ColorConvertedBitmap is a markup extension. Markup extensions are typically implemented when there is a requirement to escape attribute values to be other than literal values or handler names, and the requirement is more global than just putting type converters on certain types or properties. All markup extensions in XAML use the { and } characters in their attribute syntax, which is the convention by which a XAML reader recognizes that a markup extension must process the attribute. For more information, see Markup Extensions and XAML.

See Also

Reference

UriSource

Concepts

Markup Extensions and XAML
Imaging Overview