Hi Mack,
Are you trying to add some custom tab primitive to display a list of filters available to the user. To add a custom tab primitive to the TabControl Adv use the following code
//Make the TabPrimitivesHost visible
this.tabControlAdv1.TabPrimitivesHost.Visible = true;
this.tabControlAdv1.TabPrimitivesHost.TabPrimitives.Add(new Syncfusion.Windows.Forms.Tools.TabPrimitive(TabPrimitiveType.Custom,null,Color.Black,true,1,"MyPrimitive"));
A custom menu with filters can be done using the following code
private void tabControlAdv1_TabPrimitiveClick(object sender, TabPrimitiveClickEventArgs e)
{
TabControlAdv tabControlAdv = (TabControlAdv)sender;
if (e.TabPrimitive.TabPrimitiveType == TabPrimitiveType.Custom)
{
contextMenu.Show(this.tabControlAdv1, this.tabControlAdv1.PointToClient(Control.MousePosition));
}
}
Here is sample for doing the same,
http://websamples.syncfusion.com/samples/Tools.Windows/F66815/main.htmTo apply filters to GridGrouping refer the samples at the following path,
\My Documents\Syncfusion\EssentialStudio\5.1.1.0\Windows\Grid.Grouping.Windows\Samples\2.0\FiltersAndExpressions\
Kindly take a look and let me know if this helps.
Regards,
Ajish.