HeaderPane
Main
Hide
Share Link
Print

DropDownWidth Property, SftMask Object

Defines the width of the drop down button.

Syntax

Get

C#SftMaskDropDownWidthConstants Style = object.DropDownWidth;
VB.NETStyle = object.DropDownWidth As SftMaskDropDownWidthConstants
C++enum SftMaskDropDownWidthConstants Style = object->DropDownWidth;
enum SftMaskDropDownWidthConstants Style = object->GetDropDownWidth();
CHRESULT object->get_DropDownWidth(enum SftMaskDropDownWidthConstants* Style);
VBStyle = object.DropDownWidth As SftMaskDropDownWidthConstants

Put

C#SftMaskDropDownWidthConstants object.DropDownWidth = Style;
VB.NETobject.DropDownWidth = Style As SftMaskDropDownWidthConstants
C++enum SftMaskDropDownWidthConstants object->DropDownWidth = Style;
void object->PutDropDownWidth(enum SftMaskDropDownWidthConstants Style);
CHRESULT object->put_DropDownWidth(enum SftMaskDropDownWidthConstants Style);
VBobject.DropDownWidth = Style As SftMaskDropDownWidthConstants

object

A SftMask object.

Style

Defines the width of the drop down button.

NameValueDescription
ddwidthSftMaskNormal0Normal - The width of the drop down button is determined automatically (based on the control's height) to make the button appear as square as possible.
ddwidthSftMaskVScroll1Width of a vertical scrollbar - The width of the drop down button is identical to the width of a vertical scrollbar as defined by the Windows API GetSystemMetrics(SM_CXVSCROLL) and a down arrow is displayed.
ddwidthSftMaskCalendar2On Windows Vista and above, if Windows themes are used, the drop down button is two times the width of a vertical scrollbar and an icon representing a popup calendar is displayed instead of a down arrow. On earlier operating systems or if Windows themes are not used, the ddwidthSftMaskCalendar is equivalent to ddwidthSftMaskVScroll.

Comments

The DropDownWidth property defines the width of the drop down button.

The EditStyle property controls the presence of the drop down button.

See Also SftMask Object | Object Hierarchy


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