Visual Basic (Declaration) | |
---|---|
Public Property Value As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Value {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_Value(); public: __property void set_Value( int value ); |
XAML Attributes Usage | |
---|---|
<object Value =int > |
Dependency Property Information | |
---|---|
Identifier field | ValueProperty |
Metadata properties set to true | None |
Return Value
Amount of stretching where :Positive values: pinch the image toward its center.
Negative values: expand the image away from its center.
Valid values range from –500 to 500.
For XAML example, refer to PunchCommandBitmapEffect.
For C#/VB examples, refer to PunchCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003