ArcObjects Library Reference (Controls)  

ITOCControl2.Appearance Property

The appearance of the TOCControl.

[Visual Basic .NET]
Public Property Appearance As esriControlsAppearance
[C#]
public esriControlsAppearance Appearance {get; set;}
[C++]
HRESULT get_Appearance(
  esriControlsAppearance* Appearance
);
[C++]
HRESULT put_Appearance(
  esriControlsAppearance Appearance
);
[C++]

Parameters

Appearance [out, retval]

  Appearance is a parameter of type esriControlsAppearance

Appearance [in]

  Appearance is a parameter of type esriControlsAppearance

Product Availability

Available with ArcGIS Engine.

Description

Returns or sets the paint style of a TOCControl to either Flat or 3D. By default the appearance is flat.

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