Class PivotGridHyperlinkCellRenderer
Provides methods used to render the hyperlink cell.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class PivotGridHyperlinkCellRenderer : GridStaticCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable
Constructors
PivotGridHyperlinkCellRenderer(GridControlBase, GridCellModelBase)
Initializes a new instance of the PivotGridHyperlinkCellRenderer class with the specified GridControlBase and GridCellModelBase.
Declaration
public PivotGridHyperlinkCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | grid | The instance of GridControlBase class. |
GridCellModelBase | cellModel | The instance of GridCellModelBase class. |
Properties
ActiveLinkColor
Gets or sets the value for active link.
Declaration
public Color ActiveLinkColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
EXEname
Gets or sets the value of browser.
Declaration
public string EXEname { get; set; }
Property Value
Type |
---|
System.String |
VisitedLinkColor
Gets or sets the value for visited link.
Declaration
public Color VisitedLinkColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
LaunchBrowser(GridStyleInfo)
Launches the web browser.
Declaration
protected virtual void LaunchBrowser(GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfo | style | cell style |
OnCancelMode(Int32, Int32)
Triggered when the cancel mode is called.
Declaration
protected override void OnCancelMode(int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
Overrides
OnDraw(Graphics, Rectangle, Int32, Int32, GridStyleInfo)
Triggered when the draw is called.
Declaration
protected override void OnDraw(Graphics g, Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | GDI+ surface. |
System.Drawing.Rectangle | clientRectangle | Represents the rectangle size and location. |
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
GridStyleInfo | style | Stores the information about the cell. |
Overrides
OnGetCursor(Int32, Int32)
Triggered when the cursor is rendered.
Declaration
protected override Cursor OnGetCursor(int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
Returns
Type | Description |
---|---|
System.Windows.Forms.Cursor | Cursor. |
Overrides
OnHitTest(Int32, Int32, MouseEventArgs, IMouseController)
Is triggered when the mouse controller is rendered.
Declaration
protected override int OnHitTest(int rowIndex, int colIndex, MouseEventArgs e, IMouseController controller)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
System.Windows.Forms.MouseEventArgs | e | event data |
IMouseController | controller | used to define the interface for mouse controllers. |
Returns
Type | Description |
---|---|
System.Int32 | Returns 0 if the message is forwarded; Otherwise returns 1 for higher priority controls. |
Overrides
OnMouseDown(Int32, Int32, MouseEventArgs)
Triggered when the mouse down is pressed.
Declaration
protected override void OnMouseDown(int rowIndex, int colIndex, MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnMouseHoverEnter(Int32, Int32)
Triggered when the mouse hover enter is performed.
Declaration
protected override void OnMouseHoverEnter(int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | row index value. |
System.Int32 | colIndex | The column index of the current cell. |
Overrides
OnMouseHoverLeave(Int32, Int32, EventArgs)
Triggered when the mouse hover leave is performed.
Declaration
protected override void OnMouseHoverLeave(int rowIndex, int colIndex, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
System.EventArgs | e | The System.EventArgs that contains the event data. |
Overrides
OnMouseUp(Int32, Int32, MouseEventArgs)
Triggered when the mouse up is pressed.
Declaration
protected override void OnMouseUp(int rowIndex, int colIndex, MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |