Visual Basic (Declaration) | |
---|---|
Public Property Opacity As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Opacity {get; set;} |
XAML Attributes Usage | |
---|---|
<object Opacity =int > |
Dependencies Property Information | |
---|---|
Identifier field | OpacityProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object Opacity =int > |
Dependencies Property Information | |
---|---|
Identifier field | OpacityProperty |
Metadata properties set to true | None |
Return Value
Value that indicates the transparency, in percent, of the copy in comparison to the original image. The valid range is from 0 to 100. A value of 0 means the resulting image will be black. A value of 100 means that each copy's value will comprise 25% of the result.For XAML example, refer to FragmentCommandBitmapEffect.
For C#/VB examples, refer to FragmentCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family