GrapeCity MultiRow Windows Forms Documentation
CellAutoFitPreferredSizeNeeded Event


Occurs when a Cell is measuring the preferred size.
Syntax
<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
Event Data

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.

PropertyDescription
CellIndexGets the cell index in its parent Section. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
CellNameGets the cell name. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
DirectionGets the current automatic fit direction.  
PreferredSizeGets or sets the preferred cell size.  
RowIndexGets the index of the owner Row that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
ScopeGets the area of the cell that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
SectionIndexGets the index of the owner Section that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
Remarks
You can set the CellAutoFitPreferredSizeNeededEventArgs.PreferredSize property to customize the prefered size for specific cell.
Requirements

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

See Also

Reference

GcMultiRow Class
GcMultiRow Members

 

 


Copyright © GrapeCity, inc. All rights reserved.