ClassGridHyperlinkCellElement
Cell containing hyperlink element.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridHyperlinkCellElement : GridDataCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewColumn>, IEditableCell, IDataConversionInfoProvider, ITypeDescriptorContext, IServiceProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementConditionalFormattableGridVisualElementGridCellElementGridVirtualizedCellElementGridDataCellElementGridHyperlinkCellElement
Implements:
Inherited Members
Constructors
GridHyperlinkCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridHyperlinkCellElement class.
Declaration
public GridHyperlinkCellElement(GridViewColumn column, GridRowElement row)
Parameters
column
An instance of GridViewColumn.
row
An instance of GridRowElement.
Properties
ContentElement
Gets or sets the element containing hyperlink.
Declaration
public GridHyperlinkCellContentElement ContentElement { get; set; }
Property Value
Image
Gets or sets the image of the content element.
Declaration
public override Image Image { get; set; }
Property Value
Overrides
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
finalSize
The size that is available for element.
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
Initialize(GridViewColumn, GridRowElement)
Initializes the cell with specified column and row
Declaration
public override void Initialize(GridViewColumn column, GridRowElement row)
Parameters
column
An instance of GridViewColumn.
row
An instance of GridRowElement.
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
IsCompatible(GridViewColumn, object)
Determines whether element is compatible with the specified data.
Declaration
public override bool IsCompatible(GridViewColumn data, object context)
Parameters
data
The data.
context
The context.
Returns
true if the specified data is compatible; otherwise, false.
Overrides
OnColumnPropertyChanged(RadPropertyChangedEventArgs)
Handles column property changes that affect this cell.
Declaration
protected override void OnColumnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The property change event arguments.
Overrides
OnDoubleClick(EventArgs)
Raises the DoubleClick event.
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
e
Overrides
OnMouseDown(MouseEventArgs)
Raises the event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Overrides
OnMouseUp(MouseEventArgs)
Raises the event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Overrides
ProcessHyperlink()
Processes the hyperlink.
Declaration
protected virtual void ProcessHyperlink()
ProcessHyperlinkCore(string)
Processes the hyperlink.
Declaration
protected virtual void ProcessHyperlinkCore(string hyperlink)
Parameters
hyperlink
The hyperlink.
SetContentCore(object)
Sets the actual text of the cell.
Declaration
protected override void SetContentCore(object value)
Parameters
value
Overrides