Visual Basic (Declaration) | |
---|---|
<CategoryAttribute("Appearance")> <DescriptionAttribute("Border type of the control.")> Public Property BorderStyle As BorderStyle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[CategoryAttribute("Appearance")] [DescriptionAttribute("Border type of the control.")] public BorderStyle BorderStyle {get; set;} |
Managed Extensions for C++ | |
---|---|
[CategoryAttribute("Appearance")] [DescriptionAttribute("Border type of the control.")] public: __property BorderStyle get_BorderStyle(); public: __property void set_BorderStyle( BorderStyle value ); |
C++/CLI | |
---|---|
[CategoryAttribute("Appearance")] [DescriptionAttribute("Border type of the control.")] public: property BorderStyle BorderStyle { BorderStyle get(); void set (BorderStyle value); } |
Return Value
One of the BorderStyle values. The default is BorderStyle.Fixed3D.For an example, refer to RasterImageList.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family