Defines the control's paint style.
Get
| C# | short Type = object.Appearance; |
| VB.NET | Type = object.Appearance As Short |
| C++ | short Type = object->Appearance; short Type = object->GetAppearance(); |
| C | HRESULT object->get_Appearance(short* Type); |
Put
| C# | short object.Appearance = Type; |
| VB.NET | object.Appearance = Type As Short |
| C++ | short object->Appearance = Type; void object->PutAppearance(short Type); |
| C | HRESULT object->put_Appearance(short Type); |
object
Type
Defines the control's paint style.
| Type | Description |
|---|---|
| 0 | Flat. The border is painted as a 1-pixel border, without visual effects. |
| 1 | Paints the control border with three dimensional effects. |
The Appearance property defines the control's paint style.
The Appearance property affects the border drawn around the edit control. If the BorderStyle property is set to 1, the border is painted using a 3D effect (Appearance 1) or as a 1-pixel border (Appearance 0). The Appearance property is ignored for all other BorderStyle settings.
If Windows themes are used, the border is rendered using the current theme's style and the Appearance property has no effect.
See Also SftMask Object | Object Hierarchy