| Visual Basic (Declaration) | |
|---|---|
Public Property BrightnessFactor As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int BrightnessFactor {get; set;} | |
| XAML Attributes Usage | |
|---|---|
<object BrightnessFactor =int > | |
| Dependencies Property Information | |
|---|---|
Identifier field | BrightnessFactorProperty |
Metadata properties set to true | None |
| XAML Attributes Usage | |
|---|---|
<object BrightnessFactor =int > | |
| Dependencies Property Information | |
|---|---|
Identifier field | BrightnessFactorProperty |
Metadata properties set to true | None |
Return Value
Brightness factor for increasing or decreasing the brightness of the image. Valid values range from 0 - 400. If you pass 100 the brightness remains unchanged. Lower values darken the image while higher values lighten the image.For XAML example, refer to SubtractBackgroundCommandBitmapEffect.
For C#/VB examples, refer to SubtractBackgroundCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family