Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SourceColorContext Property

ColorConvertedBitmap.SourceColorContext Property

Gets or sets a value that identifies the color profile of the source bitmap.

Namespace:  System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

member SourceColorContext : ColorContext with get, set

Property Value

Type: System.Windows.Media.ColorContext
An instance of ColorContext.

Identifier field

SourceColorContextProperty

Metadata properties set to true

None

When you make property changes to a ColorConvertedBitmap, the changes must be done within a BeginInit and EndInit block.

The following example shows how to set the value of the SourceColorContext property.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft