Visual Basic (Declaration) | |
---|---|
Property Width As Double |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IImageListItem Dim value As Double instance.Width = value value = instance.Width |
C# | |
---|---|
double Width {get; set;} |
Property Value
The item width in pixels.For C#/VB examples, refer to IImageListItem.
Use the Width and Height property to set the item size.
The image will be drawn inside the rectangle define by ImageSize and centered inside Width and Height.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family