ReportViewer.Hyperlink 事件
發生在使用者按一下報表中的超連結時。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)
語法
'宣告
<SRDescriptionAttribute("HyperlinkEventDesc")> _
Public Event Hyperlink As HyperlinkEventHandler
'用途
Dim instance As ReportViewer
Dim handler As HyperlinkEventHandler
AddHandler instance.Hyperlink, handler
[SRDescriptionAttribute("HyperlinkEventDesc")]
public event HyperlinkEventHandler Hyperlink
public:
event HyperlinkEventHandler^ Hyperlink {
void add (HyperlinkEventHandler^ value);
void remove (HyperlinkEventHandler^ value);
}
/** @event */
public void add_Hyperlink (HyperlinkEventHandler value)
/** @event */
public void remove_Hyperlink (HyperlinkEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
備註
這個事件發生在使用者按一下報表中的超連結時,在遵循超連結移動之前。這個事件的相關資訊會在 HyperlinkEventArgs 物件中傳遞至 HyperlinkEventHandler 委託,由它來處理事件。
如需有關處理事件的詳細資訊,請參閱<Consuming Events>。
另請參閱
參考
ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WinForms 命名空間