Defines the handling of literal data during drag & drop and clipboard operations.
Get
| C# | SftMaskClipModeConstants Mode = object.ClipMode; |
| VB.NET | Mode = object.ClipMode As SftMaskClipModeConstants |
| C++ | enum SftMaskClipModeConstants Mode = object->ClipMode; enum SftMaskClipModeConstants Mode = object->GetClipMode(); |
| C | HRESULT object->get_ClipMode(enum SftMaskClipModeConstants* Mode); |
| VB | Mode = object.ClipMode As SftMaskClipModeConstants |
Put
| C# | SftMaskClipModeConstants object.ClipMode = Mode; |
| VB.NET | object.ClipMode = Mode As SftMaskClipModeConstants |
| C++ | enum SftMaskClipModeConstants object->ClipMode = Mode; void object->PutClipMode(enum SftMaskClipModeConstants Mode); |
| C | HRESULT object->put_ClipMode(enum SftMaskClipModeConstants Mode); |
| VB | object.ClipMode = Mode As SftMaskClipModeConstants |
object
Mode
Defines the handling of literal data during drag & drop and clipboard operations.
| Mode | Value | Description |
|---|---|---|
| clipSftMaskInclude | 0 | Literal characters are included. |
| clipSftMaskExclude | 1 | Literal characters are not included. |
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