New to Telerik UI for WinForms? Start a free 30-day trial

Carries the selected cell range and existing or new hyperlink data for the Insert Hyperlink dialog. ApplyChanges() replaces the hyperlink and can also set the cell's display text.

Definition

Namespace:Telerik.WinControls.UI.Dialogs.Hyperlink

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class HyperlinkDialogContext : RadSpreadsheetDialogContext

Inheritance: objectRadSpreadsheetDialogContextHyperlinkDialogContext

Constructors

Initializes a new instance of the HyperlinkDialogContext class.

C#
public HyperlinkDialogContext(RadSpreadsheetElement radSpreadsheet, CellRange selectedCellRange)
Parameters:radSpreadsheetRadSpreadsheetElement

The RadSpreadsheet.

selectedCellRangeCellRange

The selected cell range.

Properties

Gets the current hyperlink info.

C#
public HyperlinkInfo CurrentHyperlinkInfo { get; }
Property Value:

The current hyperlink info.

Gets or sets the new cell value text.

C#
public string NewCellValueText { get; set; }
Property Value:

The new cell value text.

HyperlinkInfo

Gets or sets the new hyperlink info.

C#
public HyperlinkInfo NewHyperlinkInfo { get; set; }
Property Value:

The new hyperlink info.

Gets the selected cell range.

C#
public CellRange SelectedCellRange { get; }
Property Value:

The selected cell range.

Gets or sets a value indicating whether the cell value should be set.

C#
public bool ShouldSetCellValue { get; set; }
Property Value:

The should set cell value.

Methods

Applies the changes.

C#
public void ApplyChanges()