Back to Devexpress

ListBuilder.PullingDownText(JS) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-listbuilder-dot-pullingdowntext-x28-devextreme-dot-aspnet-dot-mvc-dot-js-x29.md

latest1.5 KB
Original Source

ListBuilder.PullingDownText(JS) Method

Specifies the text shown in the pullDown panel while the list is being pulled down to the refresh threshold. Mirrors the client-side pullingDownText option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public ListBuilder PullingDownText(
    JS value
)

Parameters

NameTypeDescription
valueJS

A JavaScript expression that specifies the option value.

|

Returns

TypeDescription
ListBuilder

A reference to this instance after the method is called.

|

Remarks

Use the new JS() expression to set the option’s value.

cshtml
<script>
    var myValue = ...;
</script>

@(Html.DevExtreme().List()
    .PullingDownText(new JS("myValue"))
)

See Also

ListBuilder Class

ListBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace