HeaderPane
Main
Hide
Share Link
Print

Appearance Property, SftMask Object

Defines the control's paint style.

Syntax

Get

C#short Type = object.Appearance;
VB.NETType = object.Appearance As Short
C++short Type = object->Appearance;
short Type = object->GetAppearance();
CHRESULT object->get_Appearance(short* Type);

Put

C#short object.Appearance = Type;
VB.NETobject.Appearance = Type As Short
C++short object->Appearance = Type;
void object->PutAppearance(short Type);
CHRESULT object->put_Appearance(short Type);

object

A SftMask object.

Type

Defines the control's paint style.

TypeDescription
0Flat. The border is painted as a 1-pixel border, without visual effects.
1Paints the control border with three dimensional effects.

Comments

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


Last Updated 11/15/2026 - (email)
© 2026 Softel vdm, Inc.