HeaderPane
Main
Hide
Share Link
Print

ErrorPosition Property, SftMask Object

Defines the location of the error image.

Syntax

Get

C#SftMaskErrorPositionConstants Style = object.ErrorPosition;
VB.NETStyle = object.ErrorPosition As SftMaskErrorPositionConstants
C++enum SftMaskErrorPositionConstants Style = object->ErrorPosition;
enum SftMaskErrorPositionConstants Style = object->GetErrorPosition();
CHRESULT object->get_ErrorPosition(enum SftMaskErrorPositionConstants* Style);
VBStyle = object.ErrorPosition As SftMaskErrorPositionConstants

Put

C#SftMaskErrorPositionConstants object.ErrorPosition = Style;
VB.NETobject.ErrorPosition = Style As SftMaskErrorPositionConstants
C++enum SftMaskErrorPositionConstants object->ErrorPosition = Style;
void object->PutErrorPosition(enum SftMaskErrorPositionConstants Style);
CHRESULT object->put_ErrorPosition(enum SftMaskErrorPositionConstants Style);
VBobject.ErrorPosition = Style As SftMaskErrorPositionConstants

object

A SftMask object.

Style

Defines the location of the error image.

NameValueDescription
errorPositionSftMaskLeft0Left - The error image is displayed to the left of the control's input area.
errorPositionSftMaskRight1Right - The error image is displayed to the right of the control's input area.

Comments

The ErrorPosition property defines the location of the error image.

The ImageEmpty, ImageInvalid, ImageRequired, ErrorPosition and ErrorHandling properties are used to control the appearance and behavior of the error image.

See Also SftMask Object | Object Hierarchy


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