Visual Basic (Declaration) | |
---|---|
Public Property Gamma As Integer |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public int Gamma {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_Gamma(); public: __property void set_Gamma( int value ); |
XAML Attributes Usage | |
---|---|
<object Gamma =int > |
Dependency Property Information | |
---|---|
Identifier field | GammaProperty |
Metadata properties set to true | None |
Return Value
Integer that represents the Gamma value. It can be any number greater than 0.Because this is an unsigned integer (Integer with values greater than 0), it is 100 times the actual gamma value. For example, use 235 to set a gamma value of 2.35.
For XAML example, refer to GammaCorrectCommandBitmapEffect.
For C#/VB examples, refer to GammaCorrectCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003