Raises the MeasureCellWidth event.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
protected virtual void OnMeasureCellWidth(
	MeasureCellWidthEventArgs e
)
Visual Basic
Protected Overridable Sub OnMeasureCellWidth ( 
	e As MeasureCellWidthEventArgs
)
Visual C++
protected:
virtual void OnMeasureCellWidth(
	MeasureCellWidthEventArgs^ e
)
F#
abstract OnMeasureCellWidth : 
        e : MeasureCellWidthEventArgs -> unit 
override OnMeasureCellWidth : 
        e : MeasureCellWidthEventArgs -> unit 

Parameters

e
Type: Dapfor.Net.Ui..::..MeasureCellWidthEventArgs
The MeasureCellWidthEventArgs instance containing the event data.

Examples

 Copy imageCopy
grid.MeasureCellWidth += delegate(object sender, MeasureCellWidthEventArgs e)
{
    //Add extra width to be taken into account when adjusting columns.
    e.TotalWidth += 30;
};

See Also