The requested page is not available for the requested platform. You are viewing the content for Default platform.

CustomizeCellEventArgs.IsSelected Property

Gets whether the processed cell belongs to a row that is currently selected.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public bool IsSelected { get; }
Public ReadOnly Property IsSelected As Boolean

Property Value

Type Description
Boolean

true, if the cell belongs to the selected row; otherwise, false.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

Examples

This example demonstrates how to customize the appearance of cells in the specified grid column depending on cell values by handling the GridControl.CustomizeCell event.

The image below illustrates the result.

GridControl_CustomizeCell_iOS

GridControl_CustomizeCell_Android

<dxGrid:GridControl x:Name="grid" ItemsSource="{Binding Orders}"
                    NewItemRowVisibility="true"
                    CalculateCustomSummary="OnCalculateCustomSummary"
                    SortMode="Multiple" AutoFilterPanelVisibility="true"
                    CustomizeCell="OnCustomizeCell"
                    SwipeButtonShowing="OnSwipeButtonShowing"
                    SwipeButtonClick="OnSwipeButtonClick">
See Also