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





This member is available in the WPF Express Edition. See the LEADTOOLS products page for full details on more WPF features available with LEADTOOLS toolkits.

Gets or sets the item border Thickness of the items in this ImageList.This is a dependency property.

Syntax

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

<object ItemBorderThickness=Thickness .../>

Dependency Property Information 

Identifier field

ItemBorderThicknessProperty

Metadata properties set to true

None

XAML Property Element Usage 

<object> <object.ItemBorderThickness> <Thickness .../> </object.ItemBorderThickness> </object>

Return Value

The items border Thickness in this ImageList

Example

For C#/VB examples, refer to ItemBorderBrush.

Remarks

How the ItemBorderThickness value is used to draw the items depends on the current ViewStyle. The following table lists all the cases:
ViewStyleDescription
ImageListViewStyle.NormalFills the background of the selected items.
ImageListViewStyle.ExplorerNot used.
ImageListViewStyle.ButtonNot used.

For more information about item appearance, refer to ImageList Appearance.

Requirements

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

See Also