| Visual Basic (Declaration) | |
|---|---|
Public Property ItemBorderThickness As Thickness | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| 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 | |
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 | |
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 ImageListFor XAML example, refer to ScrollStyle.
For C#/VB examples, refer to ItemBorderBrush.
How the ItemBorderThickness value is used to draw the items depends on the current ViewStyle. The following table lists all the cases:
| ViewStyle | Description |
|---|---|
| ImageListViewStyle.Normal | Fills the background of the selected items. |
| ImageListViewStyle.Explorer | Not used. |
| ImageListViewStyle.Button | Not used. |
For more information about item appearance, refer to ImageList Appearance.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family