Sets or gets the width of the control.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Shadows Property Width As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Vt
Dim value As Integer
instance.Width = value
value = instance.Width |
| C# | |
|---|
public new int Width {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property new int get_Width();
public: __property new void set_Width(
int value
); |
| C++/CLI | |
|---|
public:
new property int Width {
int get();
void set ( int value);
} |
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also