ClassGridViewHyperlinkColumn
GridViewHyperlinkColumn provides an easy and fast way to display hyperlink. The column automatically creates HyperlinkButton based on DataMemberBinding and ContentBinding properties.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewHyperlinkColumn : GridViewBoundColumnBase, INotifyPropertyChanged, IDataFieldDescriptor, IFieldDescriptor, IExportableColumn
Inheritance: objectGridViewColumnGridViewBoundColumnBaseGridViewHyperlinkColumn
Implements:
Inherited Members
Constructors
GridViewHyperlinkColumn()
Declaration
public GridViewHyperlinkColumn()
Fields
TargetNameProperty
Identifies the TargetName dependency property.
Declaration
public static readonly DependencyProperty TargetNameProperty
Field Value
DependencyProperty
Properties
ContentBinding
Gets or sets the content binding of the hyperlink.
Declaration
public Binding ContentBinding { get; set; }
Property Value
Binding
TargetName
Gets or sets the link TargetName.
Declaration
public string TargetName { get; set; }
Property Value
The TargetName.
Methods
CopyPropertiesFrom(GridViewColumn)
Copy properties from source column.
Declaration
public override void CopyPropertiesFrom(GridViewColumn source)
Parameters
source
Overrides
CreateCellEditElement(GridViewCell, object)
Creates the element for the cell in edit mode.
Declaration
public override FrameworkElement CreateCellEditElement(GridViewCell cell, object dataItem)
Parameters
cell
dataItem
Returns
FrameworkElement
Overrides
CreateCellElement(GridViewCell, object)
Creates the element for the cell in view mode.
Declaration
public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
Parameters
cell
dataItem
Returns
FrameworkElement
Overrides
PrepareCellForEdit(FrameworkElement, RoutedEventArgs)
Prepares GridViewCell for edit.
Declaration
protected override object PrepareCellForEdit(FrameworkElement editingElement, RoutedEventArgs editingEventArgs)
Parameters
editingElement
FrameworkElement
The editing element.
editingEventArgs
RoutedEventArgs
The RoutedEventArgs instance containing the event data.
Returns
Overrides
RefreshCellElement(FrameworkElement, DependencyProperty)
Called when cell element needs refresh.
Declaration
protected override void RefreshCellElement(FrameworkElement element, DependencyProperty dependencyProperty)
Parameters
element
FrameworkElement
dependencyProperty
DependencyProperty
Overrides