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


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

<CategoryAttribute("Appearance")>

Public Event QueryFittedHeight As QueryEditorFittedHeightEventHandler
'Usage
 
Dim instance As CellEditorManager

Dim handler As QueryEditorFittedHeightEventHandler

 

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

[Category("Appearance")]

public event QueryEditorFittedHeightEventHandler QueryFittedHeight
Event Data

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

PropertyDescription
Gets the Xceed.Grid.Cell being edited. (Inherited from Xceed.Grid.Editors.CellEditorEventArgs)
Gets the display width of the cell.  
Gets the Control used to edit the cell's content. (Inherited from Xceed.Grid.Editors.CellEditorEventArgs)
Gets or sets the fitted height of the editor.  
Gets the Graphics object used to paint.  
Gets an Xceed.Grid.AutoHeightMode value indicating in regards to what factors the fitted height of the editor will be calculated.  
Gets a boolean value indicating if the editor 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