You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/spreadsheet/events.md
+47-1Lines changed: 47 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,13 +154,59 @@ End Sub
154
154
155
155
***ActivePresenterChanged**: Occurs when the active presenter is changed.
156
156
157
+
***HyperlinkClicked**: Occurs when a hyperlink in the document gets clicked. The event allows you to either cancel or replace the navigation logic. HyperlinkClicked event can be used as a confirmation from the end-user whether to proceed or not with opening a hyperlink due to security reasons.
158
+
159
+
#### Example 3: Using the HyperlinkClicked event to implement confirmation for the clicked links in the document
MessageBoxResultResult=System.Windows.MessageBox.Show("You are about to open an executable file. Do you want to proceed?", "Possible unsafe link", MessageBoxButton.YesNo, MessageBoxImage.Question);
DimResultAsMessageBoxResult=System.Windows.MessageBox.Show("You are about to open an executable file. Do you want to proceed?","Possible unsafe link",MessageBoxButton.YesNo,MessageBoxImage.Question)
188
+
189
+
IfResult=MessageBoxResult.YesThen
190
+
Process.Start(NewProcessStartInfo()With{
191
+
.FileName=e.URL,
192
+
.UseShellExecute=True
193
+
})
194
+
EndIf
195
+
EndIf
196
+
EndSub
197
+
198
+
````
199
+
200
+
{{endregion}}
201
+
202
+
157
203
>The events related to selection in RadSpreadsheet are described in the [Working with UI Selection]({%slug radspreadsheet-ui-working-with-selection%}) topic.
158
204
159
205
## Cells Events
160
206
161
207
***CellPropertyChanged**: Occurs when a property of a cell is changed. The event arguments are of type **CellPropertyChangedEventArgs** and expose information about the exact property that was changed as well as the affected cell range. **Example 3** demonstrates how you can use the event to get a notification when the users change the fill of a cell.
162
208
163
-
#### Example 3: Using the CellPropertyChangedEvent
209
+
#### Example 4: Using the CellPropertyChangedEvent
0 commit comments