Visual Basic (Declaration) | |
---|---|
Public Property Gamma As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Gamma {get; set;} |
XAML Attributes Usage | |
---|---|
<object Gamma =int > |
Dependencies Property Information | |
---|---|
Identifier field | GammaProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object Gamma =int > |
Dependencies 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, Windows Server 2008 family