Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.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;}
Managed Extensions for C++ 
public: __property Thickness get_ItemMargin();
public: __property void set_ItemMargin( 
   Thickness value
);
C++/CLI 
public:
property Thickness ItemMargin {
   Thickness get();
   void set (Thickness value);
}
XAML Attributes Usage 

<object ItemMargin=Thickness .../>

Dependency 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 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