Hello,
Can someone please help me to remove Text Filters, Search textbox & Icon bar from the existing Filter criteria?
Please see attached image for more clear understanding. Area marked with red color that I need to remove from the filter.
I will really appriciate if someone please help me with this as this is a priority issue & needs to be complete ASAP.
Thanks,
Pradeep
Hello Pradeep,
I have been looking into your requirement and I modified the sample I sent you before, so now it works as you want. I created a Style for the FieldMenuItem in the XamDataGrid’s Resources and handled its Loaded event to achieve the functionality you want. This way the Style will apply only for the particular XDG. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hello Stefan,
Thanks for the help & efforts which you have taken for achieving my requirement specifically. I really appreciate your support & it was very important for me.
But one more help I need regarding this topic, whatever you have done is for particular project & for each & every XamDataGrid which you are using in your project means you have added code in the App.xaml.cs file various functions like ‘hiding the icon bar’, removing the ‘btnClearSearchText’.
Whereas in my case I have control class library here we normally write code for the any control which we use from infragistic & this does not have the App.xaml file indeed.
Now I could not put that particular code in the App.xaml file where I have used the control library because it will get applied to each & every control i am using inside that project.
So my question is, how can i use code provided by you for particular XamDatagrid only, not for all the XamDatagrids which are there in the project.
It would be great help, if you could provide me some solution on this.
I have been looking into your requirement and I modified the sample project I sent you before and I removed the icons from the IconBar, but the IconBar itself cannot be completely remove from the control.
Hope this helps you.
Please find the file
Hello Stefen,
Ok, I have removed that .jpeg file from the application & application is running as I wanted it.
In my question I have asked you to remove the ICON bar which is left most of the Filter window & marked with red color in attached image.
Can you please tell me, how I can remove that ICON Bar from the filter.
I appreciate your efforts for the same.