Visual Basic (Declaration) | |
---|---|
Public Property Contrast As Double |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ContrastAdjustEffect Dim value As Double instance.Contrast = value value = instance.Contrast |
C# | |
---|---|
public double Contrast {get; set;} |
Property Value
The value to use to adjust the image saturation. Valid values are 0.0 to 2.0. Default value is 1.2.For XAML example, refer to ContrastAdjustEffect.
For C#/VB examples, refer to ContrastAdjustEffect.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)