HeaderPane
Main
Hide
Share Link
Print

Label Property, SftMask Object

Defines the label displayed in the control's input area.

Syntax

Get

C#string String = object.Label;
VB.NETString = object.Label As String
C++_bstr_t String = object->Label;
_bstr_t String = object->GetLabel();
CHRESULT object->get_Label(BSTR* String);
VBString = object.Label As String

Put

C#string object.Label = String;
VB.NETobject.Label = String As String
C++_bstr_t object->Label = String;
void object->PutLabel(_bstr_t String);
CHRESULT object->put_Label(BSTR String);
VBobject.Label = String As String

object

A SftMask object.

String

Defines the label displayed in the control's input area. If String is defined as "|" (vertical bar), the label displays the currency symbol defined by the default user locale.

Comments

The Label property defines the label displayed in the control's input area.

Unlike the control's caption, the label area is displayed within the control's input area. It is best used for brief information, like units (oz, kg, inch, cm, etc.) or currency symbols.

The label contents are for display purposes only and cannot be edited by the user. The label is not part of the control's Text property.

The LabelPosition property defines the location of the label.

See Also SftMask Object | Object Hierarchy


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