←Select platform

ItemBorderStyle Property (RasterThumbnailBrowser)

Summary

Gets or sets the border style to draw around the RasterImageListItem in the control.

Syntax

C#
VB
C++
public BorderStyle ItemBorderStyle {get; set;} 
Public Property ItemBorderStyle As BorderStyle 
public: 
property BorderStyle ItemBorderStyle { 
   BorderStyle get(); 
   void set (    BorderStyle ); 
} 

Property Value

A BorderStyle enumeration that specifies the border to draw around the RasterImageListItem in the control.

Remarks

The ItemBorderStyle property is only supported when the value of the ViewStyle is set to RasterImageListViewStyle.Normal

When changing any of the item sizes or styles, you should pay special attention to the values you specify, in general, you should setup ItemSize to be large enough to accommodate ItemImageSize plus room for ItemBorderStyle and ItemImageBorderStyle. If you set the ShowItemText property to true, then you should also accommodate room for the item text in your calculations.

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

Example

This example changes the border style around the image list items.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly