Back to Devexpress

DxStackLayoutItem.Visible Property

blazor-devexpress-dot-blazor-dot-dxstacklayoutitem-63271851.md

latest1.2 KB
Original Source

DxStackLayoutItem.Visible Property

Specifies whether the stack layout’s item is visible.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true if the item is visible; otherwise, false.

|

Remarks

To hide the stack layout’s item, set Visible to false.

razor
<DxStackLayout>
    <Items>
        <DxStackLayoutItem Visible="false">
            <Template>
                <div>
                    Item 1
                </div>
            </Template>
        </DxStackLayoutItem>
        @* ... *@
    </Items>
</DxStackLayout >

See Also

DxStackLayoutItem Class

DxStackLayoutItem Members

DevExpress.Blazor Namespace