Redaguoti

Bendrinti naudojant


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

Value Description
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 processor recognizes that a markup extension must process the attribute. For more information, see Markup Extensions and WPF XAML.

See also