Skip to main content
A newer version of this page is available. .

EditFormView Class

Stores appearance settings of the grid’s edit form view.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public class EditFormView :
    View

Example

This example demonstrates how to customize the grid’s edit form appearance.

Use the EditFormPage object’s Content property to access the EditFormView object that represents the form’s default view and stores its appearance settings:

To specify a custom caption for an editor, use the GridColumn.EditFormCaption property.

TemplateColumn.EditTemplate

<dxg:DataGridView x:Name="grid" ItemsSource="{Binding Orders}" Tap="Grid_Tap">
    <dxg:DataGridView.Columns>
        <dxg:TextColumn FieldName="Product.Name" Caption="Product" />
        <dxg:NumberColumn FieldName="Product.UnitPrice" Caption="Price" DisplayFormat="C0"/>
        <dxg:NumberColumn FieldName="Quantity" />
        <dxg:NumberColumn FieldName="Total" 
                          UnboundType="Integer" UnboundExpression="[Quantity] * [Product.UnitPrice]" 
                          IsReadOnly="True" DisplayFormat="C0" />
        <dxg:DateColumn FieldName="Date" DisplayFormat="d" />
        <dxg:CheckBoxColumn FieldName="Shipped" EditFormCaption="Done" />
    </dxg:DataGridView.Columns>
</dxg:DataGridView>

Implements

Xamarin.Forms.IAnimatable
Xamarin.Forms.IViewController
Xamarin.Forms.IVisualElementController
Xamarin.Forms.IElementController
Xamarin.Forms.Internals.IGestureController

Inheritance

Object
Xamarin.Forms.BindableObject
Xamarin.Forms.Element
Xamarin.Forms.NavigableElement
Xamarin.Forms.VisualElement
View
EditFormView
See Also