This question is locked. New answers and comments are not allowed.
Hi,
I want to add a button inside GridViewColumnGroup and on the click of this button, i want to take some action, but some how i am not able to accomplish this, code i am using
GridViewColumnGroup columnGroup = new GridViewColumnGroup();
columnGroup.Name = thisPivotDataColumn.UniqueName;
columnGroup.HeaderStyle = (Style)
((UserControl)Application.Current.RootVisual).Resources["GridViewHeaderGridViewColumnGroup"];
columnGroup.HeaderTemplate = (DataTemplate)XamlReader.Load(
@"<DataTemplate xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'>
<Border>
<Button Content='" + thisPivotDataColumn.ColumnLabel + "' /></Border></DataTemplate>");
Thanks & Regards
Rajasekhar
I want to add a button inside GridViewColumnGroup and on the click of this button, i want to take some action, but some how i am not able to accomplish this, code i am using
GridViewColumnGroup columnGroup = new GridViewColumnGroup();
columnGroup.Name = thisPivotDataColumn.UniqueName;
columnGroup.HeaderStyle = (Style)
((UserControl)Application.Current.RootVisual).Resources["GridViewHeaderGridViewColumnGroup"];
columnGroup.HeaderTemplate = (DataTemplate)XamlReader.Load(
@"<DataTemplate xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'>
<Border>
<Button Content='" + thisPivotDataColumn.ColumnLabel + "' /></Border></DataTemplate>");
Thanks & Regards
Rajasekhar