Skip to content
DropdownStyle

UI / DropdownStyle

DropdownStyle Class

Dropdown Widget Style Type

Table of contents

Accessors

comboButtonContentPadding(): Margin other
Get the margin of the combo box content
comboButtonContentVisible(): boolean other
Get whether the displayed text is visible
comboButtonStyle(): ButtonStyle other
Get Union box asset
maxListHeight(): number other
Get maximum dropdown menu length
menuBorderContentPadding(): Margin other
Get Dropdown background content margin
menuBorderImage(): ImageInfo other
Get ImageInfo of background image of Dropdown
selectedOptionFontColor(): LinearColor other
Get the font color of the selected item

Accessors

comboButtonContentPadding

get comboButtonContentPadding(): Margin other

set comboButtonContentPadding(margin): void other

Get the margin of the combo box content

Returns

MarginCombination box content margin

Set the content margin of the combo box

Parameters

margin MarginCombination box content margin

comboButtonContentVisible

get comboButtonContentVisible(): boolean other

set comboButtonContentVisible(bVisible): void other

Get whether the displayed text is visible

Returns

booleanWhether the content text is visible

Set whether the displayed content text is visible

Parameters

bVisible booleanIs the displayed content text visible

comboButtonStyle

get comboButtonStyle(): ButtonStyle other

Get Union box asset

Returns

ButtonStyleUnion box asset

maxListHeight

get maxListHeight(): number other

set maxListHeight(value): void other

Get maximum dropdown menu length

Returns

numberDrop down menu background content margin

Set the maximum length of Dropdown

Parameters

value numberDrop down menu background content margin

get menuBorderContentPadding(): Margin other

set menuBorderContentPadding(margin): void other

Get Dropdown background content margin

Returns

MarginDrop down menu background content margin

Get Dropdown background content margin

Parameters

margin MarginDrop down menu background content margin

get menuBorderImage(): ImageInfo other

Get ImageInfo of background image of Dropdown

Returns

ImageInfoImageInfo of background image in Dropdown

selectedOptionFontColor

get selectedOptionFontColor(): LinearColor other

set selectedOptionFontColor(value): void other

Get the font color of the selected item

Returns

LinearColorSelected font color

Set the font color of the selected item

Parameters

value LinearColorSelected font color