Xceed Grid for WinForms v4.3 Documentation
QueryFittedHeight Event (CellViewerManager)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace > CellViewerManager Class : QueryFittedHeight Event
Raised to calculate the fitted height of the viewer in pixels.
Syntax
'Declaration
 
<DescriptionAttribute("Raised to calculate the fitted height of the viewer in pixels.")>

<CategoryAttribute("Appearance")>

Public Event QueryFittedHeight As QueryViewerFittedHeightEventHandler
'Usage
 
Dim instance As CellViewerManager

Dim handler As QueryViewerFittedHeightEventHandler

 

AddHandler instance.QueryFittedHeight, handler
[Description("Raised to calculate the fitted height of the viewer in pixels.")]

[Category("Appearance")]

public event QueryViewerFittedHeightEventHandler QueryFittedHeight
Event Data

The event handler receives an argument of type QueryViewerFittedHeightEventArgs containing data related to this event. The following QueryViewerFittedHeightEventArgs properties provide information specific to this event.

PropertyDescription
Gets the Xceed.Grid.Cell whose content is to be displayed.  
Gets the display width of the cell.  
Gets or sets the fitted height of the viewer.  
Gets the Graphics object used to paint.  
Gets an Xceed.Grid.AutoHeightMode value indicating in regards to what factors the fitted height of the viewer will be calculated.  
Gets a boolean value indicating if the viewer is being printed.  
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