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





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;}
C++/CLI 
public:
property Thickness ItemBorderThickness {
   Thickness get();
   void set (Thickness value);
}
XAML Attributes Usage 

<object ItemBorderThickness=Thickness .../>

Dependencies Property Information 

Identifier field

ItemBorderThicknessProperty

Metadata properties set to true

None

XAML Property Element Usage 

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

XAML Attributes Usage 

<object ItemBorderThickness=Thickness .../>

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

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