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 the weight, in percent, given to the image color and the border or tile color when determining the resulting color. For example, if Opacity property is set to 75, then 75 of the image color will be added to 75 of the border (or Tile) color. Final results are clipped if greater than 255. Possible values range from 0 to 100.For XAML example, refer to MosaicTilesCommandBitmapEffect.
For C#/VB examples, refer to MosaicTilesCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003