PromptBox Appearance
The PromptBox provides predefined appearance options such as different sizes, border radiuses, fill modes and theme colors for its built-in button controls.
Size
The PromptBox allows you to configure the size of its buttons. To achieve this utilize the Size option for each button configuration.
The supported values are:
SmallMedium(default)LargeNone
@(Html.Kendo().PromptBox()
.Name("promptBox")
.ActionButton(button => button
.Size(ComponentSize.Large)
)
)
Roundness
The PromptBox enables you to apply different border radius to its buttons through the Rounded option.
The supported values are:
SmallMedium(default)LargeFullNone
@(Html.Kendo().PromptBox()
.Name("promptBox")
.ActionButton(button => button
.Rounded(Rounded.Full)
)
)
Fill Mode
The PromptBox allows you to set different fill modes for its buttons by using the FillMode option.
The supported values are:
Solid(default)FlatOutlineLinkClearNone
@(Html.Kendo().PromptBox()
.Name("promptBox")
.ActionButton(button => button
.FillMode(FillMode.Flat)
)
)
Theme Colors
The PromptBox allows you to set different theme colors for its buttons by using the ThemeColor option.
The supported values include:
Base(default)PrimarySecondaryTertiaryInfoSuccessWarningErrorDarkLightInverseNone
@(Html.Kendo().PromptBox()
.Name("promptBox")
.ActionButton(button => button
.ThemeColor(ThemeColor.Primary)
)
)
See Also
-
[PromptBox Modes](slug://htmlhelpers_promptbox_modes_aspnetcore