Hide

YetaWF Documentation

Display
Print

DropDownListIntNull Component

DropDownListIntNull (Edit)

Allows selection of a value from a list of nullable int values using a dropdown list. The dropdown list supports optional tooltips.

Model Type: int?

AdditionalMetadata Attributes

NameTypeDefaultDescription
Disable1OrLessbooltrueDefines whether the dropdown list is disabled when only 1 item or less is available in the list of values.
AdjustWidthbooltrueDefines whether the dropdown list width is adjusted to optimally fit the content (horizontally).
DropDownWidthFactorfloat1.0Defines the width of the dropdown portion relative to the control width. The control width is multiplied by the factor DropDownWidthFactor to calculate the width. If 1.0 is specified, the dropdown portion is the same size as the control. If 2.0 is specified, the dropdown portion is the twice the size of the control.
DropDownHeightFactorfloat1.0Defines the height of the dropdown portion relative to 200 pixels. The control width is multiplied by the factor DropDownHeightFactor to calculate the height. If 1.0 is specified, the dropdown portion is 200 pixels. If 2.0 is specified, the dropdown portion is the 400 pixels in height.

Sibling Properties

NameTypeDescription
model__ListList<YetaWF.Core.Components.SelectionItem<int?>>Defines the list of values, displayed text and tooltips shown in the dropdown list.
[Caption("Entries"), Description("Select the number of entries per page")]
[UIHint("DropDownListIntNull")]
public int? PageSelection { get; set; }
public List<SelectionItem<int?>> PageSelection_List { get; set; }