Skip to main content
A newer version of this page is available.
All docs
V20.2

DxFormLayoutItem.Visible Property

Specifies whether the current layout item is visible in the Form Layout.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public bool Visible { get; set; }

Property Value

Type Description
Boolean

Specifies whether the current layout item is visible in the Form Layout.

Remarks

<DxFormLayout>
    <DxFormLayoutItem Caption="Contact Name:" >
        <Template>
            <DxTextBox @bind-Text="@Name"></DxTextBox>
        </Template>
    </DxFormLayoutItem>
    ...  
    <DxFormLayoutItem Caption="Worked year(s):" Visible="false" >
        <Template>
            <DxSpinEdit @bind-Value="@Worked"></DxSpinEdit>
        </Template>
    </DxFormLayoutItem>
</DxFormLayout>

View Example: How to change DxFormLayout's item and group visibility

See Also