Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
ItemSize Property
See Also 
Leadtools.Windows.Controls Namespace > ImageList Class : ItemSize Property





Gets or sets the size of each ImageListItem in the control. This is a dependency property.

Syntax

Visual Basic (Declaration) 
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# 
public Size ItemSize {get; set;}
Managed Extensions for C++ 
public: __property Size get_ItemSize();
public: __property void set_ItemSize( 
   Size value
);
C++/CLI 
public:
property Size ItemSize {
   Size get();
   void set (Size value);
}
XAML Attributes Usage 

<object ItemSize=Size .../>

Dependency Property Information 

Identifier field

ItemSizeProperty

Metadata properties set to true

None

XAML Property Element Usage 

<object> <object.ItemSize> <Size .../> </object.ItemSize> </object>

Return Value

A Size structure that specifies the size of each ImageListItem in this ImageList in units.

Example

For C#/VB examples, refer to ItemBorderBrush.

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also