Back to Devexpress

GridViewDataButtonEditColumn.PropertiesButtonEdit Property

aspnet-devexpress-dot-web-dot-gridviewdatabuttoneditcolumn.md

latest2.3 KB
Original Source

GridViewDataButtonEditColumn.PropertiesButtonEdit Property

Gets the column editor’s settings.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public ButtonEditProperties PropertiesButtonEdit { get; }
vb
Public ReadOnly Property PropertiesButtonEdit As ButtonEditProperties

Property Value

TypeDescription
ButtonEditProperties

The ButtonEditProperties object.

|

Remarks

The PropertiesButtonEdit property allows you to customize the settings of the column’s editor with embedded buttons.

Note

Settings provided by the PropertiesButtonEdit property affect auto filter row editors. To customize such editors, handle the ASPxGridView.AutoFilterCellEditorInitialize event and use the ASPxGridEditorEventArgs.Editor property to get access to the filter row editor as shown in the code below.

csharp
protected void ASPxGridView_AutoFilterCellEditorInitialize(object sender, ASPxGridViewEditorEventArgs e) {
    if (e.Column.FieldName == "FIELD_NAME"){
        e.Editor.Width = Unit.Pixel(...);
        ...
    }
}
vb
Protected Sub ASPxGridView_AutoFilterCellEditorInitialize(ByVal sender As Object, ByVal e As ASPxGridViewEditorEventArgs)
    If e.Column.FieldName = "FIELD_NAME" Then
        e.Editor.Width = Unit.Pixel(...)
       ...
    End If
End Sub

See Also

Grid View

GridViewDataButtonEditColumn Class

GridViewDataButtonEditColumn Members

DevExpress.Web Namespace