| Visual Basic (Declaration) | |
|---|---|
<DefaultValueAttribute()> <NotifyParentPropertyAttribute(True)> Public Shadows Property Width As Unit | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As StatusStyle Dim value As Unit instance.Width = value value = instance.Width | |
| C# | |
|---|---|
[DefaultValueAttribute()] [NotifyParentPropertyAttribute(true)] public new Unit Width {get; set;} | |
| C++/CLI | |
|---|---|
[DefaultValueAttribute()] [NotifyParentPropertyAttribute(true)] public: new property Unit Width { Unit get(); void set ( Unit value); } | |
Property Value
The default value is 100%.Target Platforms: Microsoft .NET Framework 2.0
Copy Code