Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
ItemMargin Property
See Also 
Leadtools.Windows.Controls Namespace > ImageList Class : ItemMargin Property





Gets or sets the space between each ImageListItem in the control. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property ItemMargin As Thickness
Visual Basic (Usage)Copy Code
Dim instance As ImageList
Dim value As Thickness
 
instance.ItemMargin = value
 
value = instance.ItemMargin
C# 
public Thickness ItemMargin {get; set;}
C++/CLI 
public:
property Thickness ItemMargin {
   Thickness get();
   void set (Thickness value);
}
XAML Attributes Usage 

<object ItemMargin=Thickness .../>

Dependencies Property Information 

Identifier field

ItemMarginProperty

Metadata properties set to true

None

XAML Property Element Usage 

<object> <object.ItemMargin> <Size .../> </object.ItemMargin> </object>

XAML Attributes Usage 

<object ItemMargin=Thickness .../>

Dependencies Property Information 

Identifier field

ItemMarginProperty

Metadata properties set to true

None

XAML Property Element Usage 

<object> <object.ItemMargin> <Size .../> </object.ItemMargin> </object>

Return Value

A Size structure that specifies the space between each ImageListItem

Example

For XAML example, refer to ScrollStyle.

For C#/VB examples, refer to ItemBorderBrush.

Requirements

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

See Also