Visual Basic (Declaration) | |
---|---|
Public Property Width As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Width {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_Width(); public: __property void set_Width( int value ); |
XAML Attributes Usage | |
---|---|
<object Width =int > |
Dependency Property Information | |
---|---|
Identifier field | WidthProperty |
Metadata properties set to true | None |
Return Value
Value that represents the desired image's width in pixels.For XAML example, refer to ResizeInterpolateCommandBitmapEffect.
For C#/VB examples, refer to ResizeInterpolateCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003