MobileForms Toolkit Documentation

SmartGrid.CustomizeCell Event

CustomizeCell event is used to allow more advanced cell customization.

public event CustomizeCellHandler CustomizeCell;

Event Data

The event handler receives an argument of type CustomizeCellEventArgs containing data related to this event. The following CustomizeCellEventArgs property provides information specific to this event.

Property Description
Cell Gets or sets the cell that is going to be displayed by the SmartGrid.

Remarks

When SmartGrid is refreshed, it creates a cache of display cells. This event allows you to modify these cells - to set new Text, Image or Style to cell, or to create custom derived cell to handle the drawing. To allow this event for the given column, set CustomizeCells to true.

Arguments for this event are of type CustomizeCellEventArgs.

For examples, see our "CustomCell" sample.

See Also

SmartGrid Class | Resco.Controls.SmartGrid Namespace