Provides the ability to specify the height of individual preview sections in pixels.
[DXCategory("Data")] public event RowHeightEventHandler MeasurePreviewHeight
<DXCategory("Data")> Public Event MeasurePreviewHeight As RowHeightEventHandler
The MeasurePreviewHeight event's data class is RowHeightEventArgs. The following properties provide information specific to this event:
|RowHandle||Gets the handle of the row whose height is to be specified.|
|RowHeight||Gets or sets the row’s height.|
By default, the height of all preview sections is specified by the View’s GridView.PreviewLineCount property.
The MeasurePreviewHeight event is raised for each row and allows the height of its preview section to be specified. The event parameter’s RowHeightEventArgs.RowHandle property allows the processed row to be identified. The RowHeightEventArgs.RowHeight property allows the height of the processed preview section to be specified.
If the Row Auto-Height or Preview Sections feature is enabled, pixel-based vertical row scrolling is not in effect. See GridOptionsBehavior.AllowPixelScrolling to learn more.