Back to Devexpress

DateBoxBuilder.Visible(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-dateboxbuilder-dot-visible-x28-system-dot-boolean-x29.md

latest1.2 KB
Original Source

DateBoxBuilder.Visible(Boolean) Method

Specifies whether the UI component is visible. Mirrors the client-side visible option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DateBoxBuilder Visible(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
DateBoxBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().DateBox()
    .Visible(true)
)

See Also

DateBoxBuilder Class

DateBoxBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace