Class TreeGridCellHyperlinkRenderer
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid.Cells
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridCellHyperlinkRenderer : TreeGridVirtualizingCellRenderer<TextBlock, TextBlock>, ITreeGridCellRenderer, IDisposable
Constructors
TreeGridCellHyperlinkRenderer()
Initializes a new instance of the
Declaration
public TreeGridCellHyperlinkRenderer()
Methods
InitializeCellStyle(TreeDataColumnBase, Object)
Initializes the custom style for cell when the corresponding API's and Selectors are used.
Declaration
protected override void InitializeCellStyle(TreeDataColumnBase dataColumn, object record)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | The corresponding DataColumn Which holds TreeGridColumn, RowColumnIndex and GridCell to initialize cell style. |
System.Object | record | The corresponding record to initialize cell style. |
Overrides
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(TreeDataColumnBase, TextBlock, Object)
Method which is used to initialize the renderer element bindings with corresponding column values.
Declaration
public override void OnInitializeEditElement(TreeDataColumnBase dataColumn, TextBlock uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
TreeDataColumnBase | dataColumn | Specifies the corresponding TreeDataColumnBase. |
System.Windows.Controls.TextBlock | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the data context of the cell. |
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 | 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 | The corresponding edit UIElement to wire its events. |
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 contains the event data. |
Returns
Type | Description |
---|---|
System.Boolean | true if handled by SfDataGrid; false if handled by editor of the column. |