Extensão da Marcação ColorConvertedBitmap
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 |
Comentários
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. Todas as extensões de marcação no XAML usar o {e} caracteres em sua sintaxe de atributo, que é a convenção pelo qual um XAML processador reconhece que a extensão de marcação deve processar o atributo. For more information, see As extensões de marcação e o WPF XAML.