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



Gets or sets the size of each item in pixels. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Size of each item (including image and text) in pixels.")>
<CategoryAttribute("Appearance")>
Public Property ItemSize As Size
Visual Basic (Usage)Copy Code
Dim instance As ImageList
Dim value As Size
 
instance.ItemSize = value
 
value = instance.ItemSize
C# 
[DescriptionAttribute("Size of each item (including image and text) in pixels.")]
[CategoryAttribute("Appearance")]
public Size ItemSize {get; set;}
C++/CLI 
[DescriptionAttribute("Size of each item (including image and text) in pixels.")]
[CategoryAttribute("Appearance")]
public:
property Size ItemSize {
   Size get();
   void set (    Size value);
}

Property Value

The size of each item in pixels. Default value is 128, 128.

Example

For XAML example, refer to ItemBorderBrush.

For C#/VB examples, refer to ItemBorderBrush.

Remarks

In WPF Express, default value is fixed at 128 X 128.

Requirements

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

See Also