This question is locked. New answers and comments are not allowed.
Hi, I am just wondering if I can bind the default filter pop up's checkbox to one my of gridview itemsource's property?
ex. I have a gridview whose itemsource is MarketList. Market has property of MarketName and IsDefaultSearchValue. I'd like to have a column of MarketName which is filterable by marketNames of course. What I would like to achieve is If I click the MarketName column filter icon, the filter pop will appear with suggested names to be filtered with corresponding checkboxes. But I would like to bind the checkboxes to the IsDefaultSearchValue Property. So automatically, when I click the filter icon, it will show the names but one checkbox is already checked if it is the defaultsearch value for filter.
Now I know that filter pop ups can be customized and I already did that but this time since the "appearance" of the default filter pop up is already okay with me, I just want to reuse it but I just can't get how to bind it or programattically make the Ischecked=true of the checkbox since it is a built in control.(I don't have any idea where to alter the xaml and bind it if ever). I'd like to know if this is possible, if yes, please teach me how. A demo perhaps? thanks.
ex. I have a gridview whose itemsource is MarketList. Market has property of MarketName and IsDefaultSearchValue. I'd like to have a column of MarketName which is filterable by marketNames of course. What I would like to achieve is If I click the MarketName column filter icon, the filter pop will appear with suggested names to be filtered with corresponding checkboxes. But I would like to bind the checkboxes to the IsDefaultSearchValue Property. So automatically, when I click the filter icon, it will show the names but one checkbox is already checked if it is the defaultsearch value for filter.
Now I know that filter pop ups can be customized and I already did that but this time since the "appearance" of the default filter pop up is already okay with me, I just want to reuse it but I just can't get how to bind it or programattically make the Ischecked=true of the checkbox since it is a built in control.(I don't have any idea where to alter the xaml and bind it if ever). I'd like to know if this is possible, if yes, please teach me how. A demo perhaps? thanks.