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
public GridViewHyperlinkColumn()
Fields
TargetNameProperty
DependencyProperty
Identifies the TargetName dependency property.
public static readonly DependencyProperty TargetNameProperty
Properties
ContentBinding
Binding
Gets or sets the content binding of the hyperlink.
public Binding ContentBinding { get; set; }
Gets or sets the link TargetName.
public string TargetName { get; set; }
The TargetName.
Methods
Copy properties from source column.
public override void CopyPropertiesFrom(GridViewColumn source)
Overrides:
CreateCellEditElement(GridViewCell, object)
FrameworkElement
Creates the element for the cell in edit mode.
public override FrameworkElement CreateCellEditElement(GridViewCell cell, object dataItem)
FrameworkElement
Overrides:
CreateCellElement(GridViewCell, object)
FrameworkElement
Creates the element for the cell in view mode.
public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
FrameworkElement
Overrides:
Prepares GridViewCell for edit.
protected override object PrepareCellForEdit(FrameworkElement editingElement, RoutedEventArgs editingEventArgs)
The editing element.
editingEventArgsRoutedEventArgsThe RoutedEventArgs instance containing the event data.
Returns:Overrides:
Called when cell element needs refresh.
protected override void RefreshCellElement(FrameworkElement element, DependencyProperty dependencyProperty)
Overrides: