ListBuilder.ShowSelectionControls(Boolean) Method
In This Article
Specifies whether or not to display controls used to select list items. Not available if selectionMode is set to 'none'. Mirrors the client-side showSelectionControls option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public ListBuilder ShowSelectionControls(
bool value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Boolean | The option value. |
#Returns
Type | Description |
---|---|
List |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().List()
.ShowSelectionControls(true)
)
See Also