Skip to main content
All docs
V26.1
  • DxFilterBuilder.Enabled Property

    Specifies whether the Filter Builder component is enabled.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v26.1.dll

    Declaration

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

    Property Value

    Type Default Description
    Boolean true

    false to disable the component; otherwise, true.

    Remarks

    Set the Enabled property to false to disable a Filter Builder component:

    <DxFilterBuilder Enabled="false">
        <Fields>
            <DxFilterBuilderField FieldName="Subject" Caption="Name" Type="@typeof(string)" />
            <DxFilterBuilderField FieldName="CreatedDate" Caption="Created Date" Type="@typeof(DateTime)" />
            <DxFilterBuilderField FieldName="Amount" Caption="Amount" Type="@typeof(int)" />
            <DxFilterBuilderField FieldName="Discontinued" Type="@typeof(bool)" />
        </Fields>
    </DxFilterBuilder>
    

    When the Filter Builder is disabled, users cannot interact with it or modify the associated filter criteria. All internal controls (drop-down buttons, value editors, and add/delete buttons) are also disabled.

    See Also