Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataFormCustomItem.IgnoreFormIsReadOnly Property

Gets or sets whether to ignore the DataFormView.IsReadOnly property if it is set to true. This is a bindable property.

Namespace: DevExpress.Maui.DataForm

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public bool IgnoreFormIsReadOnly { get; set; }

#Property Value

Type Default Description
Boolean false

true to ignore the DataFormView.IsReadOnly property if it is enabled; otherwise, false.

#Remarks

If you set the DataFormView.IsReadOnly property to true, the DataFormView disables the DataFormCustomItem‘s content. To prevent the content from being disabled, assign true to the DataFormCustomItem.IgnoreFormIsReadOnly property.

The following example enables the DataFormCustomItem if the data form is read-only:

<dxdf:DataFormView IsReadOnly="True" ... >
    <dxdf:DataFormCustomItem ... 
        IgnoreFormIsReadonly="True"
        IsEnabled="True">
            <!--...-->
    </dxdf:DataFormCustomItem>
</dxdf:DataFormView>
See Also