Class GridHyperlinkCellElement
Cell containing hyperlink element.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridHyperlinkCellElement : GridDataCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewColumn>, IEditableCell, IDataConversionInfoProvider, ITypeDescriptorContext, IServiceProvider
Constructors
GridHyperlinkCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridHyperlinkCellElement class.
Declaration
public GridHyperlinkCellElement(GridViewColumn column, GridRowElement row)
Parameters
GridViewColumn
column
An instance of GridViewColumn. |
GridRowElement
row
An instance of GridRowElement. |
Properties
ContentElement
Gets or sets the element containing hyperlink.
Declaration
public GridHyperlinkCellContentElement ContentElement { get; set; }
Property Value
GridHyperlinkCellContentElement
|
Image
Gets or sets the image of the content element.
Declaration
public override Image Image { get; set; }
Property Value
System.Drawing.Image
|
Overrides
Text
Gets or sets the text of the content element.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
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
System.Drawing.SizeF
finalSize
The size that is available for element. |
Returns
System.Drawing.SizeF
The rectangle occupied by the element. Usually |
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
GridViewColumn
column
An instance of GridViewColumn. |
GridRowElement
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
GridViewColumn
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Overrides
OnColumnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnColumnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnDoubleClick(EventArgs)
Raises the DoubleClick event.
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.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
System.String
hyperlink
The hyperlink. |
SetContentCore(Object)
Sets the actual text of the cell.
Declaration
protected override void SetContentCore(object value)
Parameters
System.Object
value
|