LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Width Property
See Also 
Leadtools.Windows.Controls Namespace > IImageListItem Interface : Width Property



Gets or sets the item width in pixels Supported in Silverlight, Windows Phone 7

Syntax

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;}
C++/CLI 
property double Width {
   double get();
   void set (    double value);
}

Property Value

The item width in pixels.

Example

For C#/VB examples, refer to IImageListItem.

Remarks

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.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also