HeaderPane
Main
Hide
Share Link
Print

DefaultHandling Property, SftMask Object

Defines the default text handling.

Syntax

Get

C#SftMaskDefaultHandlingConstants Style = object.DefaultHandling;
VB.NETStyle = object.DefaultHandling As SftMaskDefaultHandlingConstants
C++enum SftMaskDefaultHandlingConstants Style = object->DefaultHandling;
enum SftMaskDefaultHandlingConstants Style = object->GetDefaultHandling();
CHRESULT object->get_DefaultHandling(enum SftMaskDefaultHandlingConstants* Style);

Put

C#SftMaskDefaultHandlingConstants object.DefaultHandling = Style;
VB.NETobject.DefaultHandling = Style As SftMaskDefaultHandlingConstants
C++enum SftMaskDefaultHandlingConstants object->DefaultHandling = Style;
void object->PutDefaultHandling(enum SftMaskDefaultHandlingConstants Style);
CHRESULT object->put_DefaultHandling(enum SftMaskDefaultHandlingConstants Style);

object

A SftMask object.

Style

Defines the default text handling.

NameValueDescription
dfltSftMaskImmediate0Immediate - If the control's contents are empty, the default text defined using the DefaultText property is restored as the default value in the control.
dfltSftMaskDelayed1Delayed - When the control loses the input focus and the control's contents are empty, the default text defined using the DefaultText property is restored as the default value in the control.

Comments

The DefaultHandling property defines the default text handling.

The DefaultHandling property determines when the control contents are inspected and, if empty, the DefaultText property value is assigned to the Text property. If the DefaultText property is empty, the DefaultHandling property has no effect.

See Also SftMask Object | Object Hierarchy


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