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
public bool IgnoreFormIsReadOnly { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | 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