LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

ItemSize Property






Gets or sets the size of each item in pixels. .NET support Silverlight support
Syntax
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Size of each item (including image and text) in pixels.")]
public Size ItemSize {get; set;}
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Size of each item (including image and text) in pixels.")>
Public Property ItemSize As Size
'Usage
 
Dim instance As ImageList
Dim value As Size
 
instance.ItemSize = value
 
value = instance.ItemSize
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Size of each item (including image and text) in pixels.")]
public Size ItemSize {get; set;}
CategoryAttribute("Appearance")
DescriptionAttribute("Size of each item (including image and text) in pixels.")
 get_ItemSize();
set_ItemSize(value);
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Size of each item (including image and text) in pixels.")]
public:
property Size ItemSize {
   Size get();
   void set (    Size value);
}

Property Value

The size of each item in pixels. Default value is 128, 128.
Remarks
In WPF Express, default value is fixed at 128 X 128.
Example

For XAML example, refer to ItemBorderBrush.

For C#/VB examples, refer to ItemBorderBrush.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImageList Class
ImageList Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.