| Visual Basic (Declaration) | |
|---|---|
Public Property Opacity As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int Opacity {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property int get_Opacity(); public: __property void set_Opacity( int value ); | |
| XAML Attributes Usage | |
|---|---|
<object Opacity =int > | |
| Dependency Property Information | |
|---|---|
Identifier field | OpacityProperty |
Metadata properties set to true | None |
Return Value
Value that represents how transparent the cells are, compared to the original pixels. This is a percentage. Possible values are 0 – 100. (0 is total transparency and 100 is total opacity.)For XAML example, refer to PixelateCommandBitmapEffect.
For C#/VB examples, refer to PixelateCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003
Copy Code