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


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

<CategoryAttribute("Appearance")>

Public Event QueryFittedWidth As QueryEditorFittedWidthEventHandler
'Usage
 
Dim instance As CellEditorManager

Dim handler As QueryEditorFittedWidthEventHandler

 

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

[Category("Appearance")]

public event QueryEditorFittedWidthEventHandler QueryFittedWidth
Event Data

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

PropertyDescription
Gets the Xceed.Grid.Cell being edited. (Inherited from Xceed.Grid.Editors.CellEditorEventArgs)
Gets the Control used to edit the cell's content. (Inherited from Xceed.Grid.Editors.CellEditorEventArgs)
Gets or sets the fitted width of the editor.  
Gets the Graphics object used to paint.  
This property is reserved for future use.  
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