We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display a popup Window when the HyperLink cell is clicked

XAML

<TextBlock Text="Popup window with hyperlinkcellclick value" Foreground="DeepPink" FontSize="10" Grid.Row="0" Grid.ColumnSpan="2" />

                                <TextBlock Text="Value" Grid.Row="2" Grid.Column="0" />

                                <TextBlock Name="value" Grid.Row="2" Grid.Column="1" Foreground="Maroon"/>

                                <Button Content="Close pop Up" Click="Button_Click" Grid.Row="4" Grid.ColumnSpan="2"/>

 

C#

this.pivotGridControl1.HyperlinkCellClick +=new HyperlinkCellClick(pivotGrid1_HyperlinkCellClick);

 

private void pivotGrid1_HyperlinkCellClick(object sender, HyperlinkCellClickEventArgs e)

        {

            popup.IsOpen = true;

            popup.Visibility = Visibility.Visible;

            value.Text = e.PivotCellInfo.FormattedText;

        }

 

 

        private void Button_Click(object sender, RoutedEventArgs e)

        {

            popup.IsOpen = false;

            popup.Visibility = Visibility.Collapsed;

        }

 

C:\Users\labuser\Dropbox\Screenshots\Screenshot 2014-05-26 12.38.02.png

Figure: Normal Pivot Grid

C:\Users\labuser\Dropbox\Screenshots\Screenshot 2014-05-26 12.39.26.png

Figure: Pivot Grid with pop up Window

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
2955 11/26/2014 11/26/2014 Silverlight PivotGridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon