HeaderPane
Main
Hide
Share Link
Print

ClipMode Property, SftMask Object

Defines the handling of literal data during drag & drop and clipboard operations.

Syntax

Get

C#SftMaskClipModeConstants Mode = object.ClipMode;
VB.NETMode = object.ClipMode As SftMaskClipModeConstants
C++enum SftMaskClipModeConstants Mode = object->ClipMode;
enum SftMaskClipModeConstants Mode = object->GetClipMode();
CHRESULT object->get_ClipMode(enum SftMaskClipModeConstants* Mode);
VBMode = object.ClipMode As SftMaskClipModeConstants

Put

C#SftMaskClipModeConstants object.ClipMode = Mode;
VB.NETobject.ClipMode = Mode As SftMaskClipModeConstants
C++enum SftMaskClipModeConstants object->ClipMode = Mode;
void object->PutClipMode(enum SftMaskClipModeConstants Mode);
CHRESULT object->put_ClipMode(enum SftMaskClipModeConstants Mode);
VBobject.ClipMode = Mode As SftMaskClipModeConstants

object

A SftMask object.

Mode

Defines the handling of literal data during drag & drop and clipboard operations.

ModeValueDescription
clipSftMaskInclude0Literal characters are included.
clipSftMaskExclude1Literal characters are not included.

Comments

The ClipMode property defines the handling of literal data during drag & drop and clipboard operations.

The behavior of the SelText, Text, TextDisplay and Contents.Value properties are controlled by the ClipMode property.

The ClipMode property has no effect if the control is used as a simple edit control (without Mask).

When using OLEDragMode = OLEDragSftMaskAutomatic, the data automatically added to the DataObject always includes literal characters. The ClipMode setting is ignored.

See Also SftMask Object | Object Hierarchy


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