DxFormLayoutItem.Visible Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

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:" >
        <DxTextBox @bind-Text="@Name" />
    </DxFormLayoutItem>
    // ...  
    <DxFormLayoutItem Caption="Worked year(s):" Visible="false" >
        <DxSpinEdit @bind-Value="@Worked" />
    </DxFormLayoutItem>
</DxFormLayout>

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

See Also