Visual Basic (Declaration) | |
---|---|
Public Property BrightnessFactor As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int BrightnessFactor {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_BrightnessFactor(); public: __property void set_BrightnessFactor( int value ); |
XAML Attributes Usage | |
---|---|
<object BrightnessFactor =int > |
Dependency 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, and Windows Server 2003