Class GridCellHyperlinkRenderer
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridCellHyperlinkRenderer : GridVirtualizingCellRenderer<TextBlock, TextBlock>, IGridCellRenderer, IDisposable
Constructors
GridCellHyperlinkRenderer()
Initializes a new instance of the GridCellHyperlinkRenderer class.
Declaration
public GridCellHyperlinkRenderer()
Methods
OnCreateEditUIElement()
Creates a new UIElement for the edit mode of cell.
Declaration
protected override TextBlock OnCreateEditUIElement()
Returns
Type | Description |
---|---|
System.Windows.Controls.TextBlock | The new UIElement for the edit mode of cell. |
Overrides
OnInitializeEditElement(DataColumnBase, TextBlock, Object)
Method which is used to initialize the renderer element bindings with corresponding column values.
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, TextBlock uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
System.Windows.Controls.TextBlock | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the data context of the cell. |
Overrides
OnRenderContent(DrawingContext, Rect, Geometry, DataColumnBase, GridCell, Object)
Declaration
protected override void OnRenderContent(DrawingContext dc, Rect cellRect, Geometry clipGeometry, DataColumnBase dataColumnBase, GridCell gridCell, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | dc | |
System.Windows.Rect | cellRect | |
System.Windows.Media.Geometry | clipGeometry | |
DataColumnBase | dataColumnBase | |
GridCell | gridCell | |
System.Object | dataContext |
Overrides
OnUnwireEditUIElement(TextBlock)
Unwires the events associated with edit UIElement
Declaration
protected override void OnUnwireEditUIElement(TextBlock uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.TextBlock | uiElement | Specifies the corresponding UIElement. |
Overrides
OnWireEditUIElement(TextBlock)
Wires the events associated with edit UIElement.
Declaration
protected override void OnWireEditUIElement(TextBlock uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.TextBlock | uiElement | Specifies the corresponding edit UIElement. |
Overrides
ShouldGridTryToHandleKeyDown(KeyEventArgs)
Handles the key interaction with editor of corresponding column.
Declaration
protected override bool ShouldGridTryToHandleKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | The System.Windows.Input.KeyEventArgs instance contains the event data. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the parent grid should be allowed to handle keys; otherwise false. |