LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ItemMargin Property
See Also 
Leadtools.Windows.Controls Namespace > ImageList Class : ItemMargin Property



Gets or sets the margins between each item Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Margin of each item image.")>
<CategoryAttribute("Appearance")>
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# 
[DescriptionAttribute("Margin of each item image.")]
[CategoryAttribute("Appearance")]
public Thickness ItemMargin {get; set;}
C++/CLI 
[DescriptionAttribute("Margin of each item image.")]
[CategoryAttribute("Appearance")]
public:
property Thickness ItemMargin {
   Thickness get();
   void set (    Thickness value);
}

Property Value

A System.Windows.Thickness that specifies the margins to use between each item. Default value is Thickness(5, 5, 5, 5).

Example

For XAML example, refer to ItemBorderBrush.

For C#/VB examples, refer to ItemBorderBrush.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also