Visual Basic (Declaration) | |
---|---|
Public Property Brightness As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Brightness {get; set;} |
XAML Attributes Usage | |
---|---|
<object Brightness =int > |
Dependencies Property Information | |
---|---|
Identifier field | BrightnessProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object Brightness =int > |
Dependencies Property Information | |
---|---|
Identifier field | BrightnessProperty |
Metadata properties set to true | None |
Return Value
Value that refers to the color intensity scale factor. The brightness ranges from -1000 to 1000. This value is divided internally by 1000. A positive value increases (or lightens) the brightness of the image. A negative value decreases (or darkens) the brightness of the image.For XAML example, refer to ContrastBrightnessIntensityCommandBitmapEffect.
For C#/VB examples, refer to ContrastBrightnessIntensityCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family