This document is archived and information here might be outdated.  Recommended version.


ITOCControl2.BorderStyle Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControl2 Interface > ITOCControl2.BorderStyle Property
ArcGIS Developer Help

ITOCControl2.BorderStyle Property

The border style of the TOCControl.

[Visual Basic .NET]
Public Property BorderStyle As esriControlsBorderStyle
[C#]
public esriControlsBorderStyle BorderStyle {get; set;}
[C++]
HRESULT get_BorderStyle(
void
);
[C++]
HRESULT put_BorderStyle(
);

Product Availability

Available with ArcGIS Engine.

Description

Returns or sets the border style of a TOCControl. By default a border is drawn.

Errors Returned

1005 800a03ed: The value of a parameter which is an enumerated constant is out of the range of required values

See Also

ITOCControl2 Interface