Visual Basic (Declaration) | |
---|---|
Public Property Contrast As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Contrast {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_Contrast(); public: __property void set_Contrast( int value ); |
XAML Attributes Usage | |
---|---|
<object Contrast =int > |
Dependency Property Information | |
---|---|
Identifier field | ContrastProperty |
Metadata properties set to true | None |
Return Value
Value that refers to the histogram stretching amount. The contrast ranges from -1000 to +1000. This value is divided internally by 1000. A positive value increases the contrast whereas a negative value decreases the contrast.For XAML example, refer to ContrastBrightnessIntensityCommandBitmapEffect.
For C#/VB examples, refer to ContrastBrightnessIntensityCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003