GrapeCity.Win.MultiRow Namespace > GcMultiRow Class : CellAutoFitPreferredSizeNeeded Event |
<SRDescriptionAttribute("Occurs when a cell is measuring the preferred size.")> <SRCategoryAttribute("Behavior")> Public Event CellAutoFitPreferredSizeNeeded As EventHandler(Of CellAutoFitPreferredSizeNeededEventArgs)
Dim instance As GcMultiRow Dim handler As EventHandler(Of CellAutoFitPreferredSizeNeededEventArgs) AddHandler instance.CellAutoFitPreferredSizeNeeded, handler
[SRDescription("Occurs when a cell is measuring the preferred size.")] [SRCategory("Behavior")] public event EventHandler<CellAutoFitPreferredSizeNeededEventArgs> CellAutoFitPreferredSizeNeeded
The event handler receives an argument of type CellAutoFitPreferredSizeNeededEventArgs containing data related to this event. The following CellAutoFitPreferredSizeNeededEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CellIndex | Gets the cell index in its parent Section. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs) |
CellName | Gets the cell name. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs) |
Direction | Gets the current automatic fit direction. |
PreferredSize | Gets or sets the preferred cell size. |
RowIndex | Gets the index of the owner Row that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs) |
Scope | Gets the area of the cell that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs) |
SectionIndex | Gets the index of the owner Section that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2