protected override void Invoke(object parameter) { if (parameter is HyperlinkCellClickEventArgs) { HyperlinkCellClickEventArgs eventArgs = parameter as HyperlinkCellClickEventArgs; this.Target.ItemsSource = (this.AssociatedObject as PivotGridControl).PivotEngine.GetRawItemsFor(eventArgs.RowColumnIndex.RowIndex, eventArgs.RowColumnIndex.ColumnIndex); } }
protected override void Invoke(object parameter) { if (parameter is HyperlinkCellClickEventArgs) { HyperlinkCellClickEventArgs eventArgs = parameter as HyperlinkCellClickEventArgs; this.Target.Items.Add("Value: " + Convert.ToString(eventArgs.PivotCellInfo.Value) + Environment.NewLine + "RowIndex: " + eventArgs.RowColumnIndex.RowIndex.ToString() + Environment.NewLine + "ColumnIndex: " + eventArgs.RowColumnIndex.ColumnIndex.ToString()); this.Target.ScrollIntoView(this.Target.Items[this.Target.Items.Count - 1]); } }
private void TableControl_HyperlinkCellClick(object sender, HyperlinkCellClickEventArgs e) { }