Visual Basic (Declaration) | |
---|---|
Public Property Brightness As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Brightness {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_Brightness(); public: __property void set_Brightness( int value ); |
XAML Attributes Usage | |
---|---|
<object Brightness =int > |
Dependency Property Information | |
---|---|
Identifier field | BrightnessProperty |
Metadata properties set to true | None |
Return Value
Amount to change the intensity. The intensity ranges from -1000 to 1000. A positive value increases (or lightens) the brightness of the image. A negative values decreases (or darkens) the brightness of the image.For XAML example, refer to ChangeIntensityCommandBitmapEffect.
For C#/VB examples, refer to ChangeIntensityCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003