LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BorderStyle Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : BorderStyle Property



Gets or sets the border style of the control.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Border type of the control.")>
<CategoryAttribute("Appearance")>
Public Property BorderStyle As BorderStyle
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As BorderStyle
 
instance.BorderStyle = value
 
value = instance.BorderStyle
C# 
[DescriptionAttribute("Border type of the control.")]
[CategoryAttribute("Appearance")]
public BorderStyle BorderStyle {get; set;}
C++/CLI 
[DescriptionAttribute("Border type of the control.")]
[CategoryAttribute("Appearance")]
public:
property BorderStyle BorderStyle {
   BorderStyle get();
   void set (    BorderStyle value);
}

Property Value

One of the BorderStyle values. The default is BorderStyle.Fixed3D.

Example

For an example, refer to RasterImageList.

Remarks

You can use the BorderStyle property to change the border style of the RasterImageList control to match the border style settings of other controls on the form. For example, if none of the other controls on your form displays a border, you can set the BorderStyle property of the RasterImageList control to BorderStyle.None to match the other controls.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also