Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.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;}
C++/CLI 
public:
property Size ItemSize {
   Size get();
   void set (Size value);
}
XAML Attributes Usage 

<object ItemSize=Size .../>

Dependencies Property Information 

Identifier field

ItemSizeProperty

Metadata properties set to true

None

XAML Property Element Usage 

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

XAML Attributes Usage 

<object ItemSize=Size .../>

Dependencies 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 XAML example, refer to ScrollStyle.

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