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


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace > CellViewerManager Class : QueryFittedWidth Event
Raised to calculate the fitted width of the viewer in pixels.
Syntax
'Declaration
 
<DescriptionAttribute("Raised to calculate the fitted width of the viewer in pixels.")>
<CategoryAttribute("Appearance")>
Public Event QueryFittedWidth As QueryViewerFittedWidthEventHandler
'Usage
 
Dim instance As CellViewerManager
Dim handler As QueryViewerFittedWidthEventHandler
 
AddHandler instance.QueryFittedWidth, handler
[Description("Raised to calculate the fitted width of the viewer in pixels.")]
[Category("Appearance")]
public event QueryViewerFittedWidthEventHandler QueryFittedWidth
Event Data

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

PropertyDescription
Gets the Xceed.Grid.Cell whose content is to be displayed.  
Gets or sets the fitted width of the viewer.  
Gets the Graphics object used to paint.  
This property is reserved for future use.  
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