NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Label.BorderStyle

Gets or sets the border style for the control.

[Visual Basic]
Overridable Public Property BorderStyle As BorderStyle
[C#]
public BorderStyle BorderStyle {virtual get; virtual set;}
[C++]
public: __property virtual BorderStyle get_BorderStyle();
public: __property virtual void set_BorderStyle(BorderStyle);
[JScript]
public function get BorderStyle() : BorderStyle;
public function set BorderStyle(BorderStyle);

Property Value

One of the BorderStyle values. The default is None.

Exceptions

Exception Type Condition
InvalidEnumArgumentException The value assigned is not one of the BorderStyle values.

Remarks

You can specify this property at design time or run time.

See Also

Label Class | Label Members | System.WinForms Namespace | BorderStyle