ColorConvertedBitmap Biçimlendirme Uzantısı
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 |
Açıklamalar
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 Biçimlendirme Uzantıları ve WPF XAML.