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