Hi,
Yesterday, I've faced with the situation that I can't set the value of the check box to my custom filter.
Well, take a look on that:
<CheckBox x:Name="myCheckBox"/>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn>
<CustomFilter:MyCustomFilter GetTheValueOfCheckBox={Binding ElementName=myCheckBox, Path=IsChecked}
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
<telerik:RadGridView x:Name="myGrid">
</telerik:RadGridView/>
In code behind of the MyCustomFilter I registered my DependencyProperty.
I have to addmit, that we use MVVM and the grid is a view part only without codebehind.
How can I handle this issue ?
Thank you in advance,
Julian
Yesterday, I've faced with the situation that I can't set the value of the check box to my custom filter.
Well, take a look on that:
<CheckBox x:Name="myCheckBox"/>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn>
<CustomFilter:MyCustomFilter GetTheValueOfCheckBox={Binding ElementName=myCheckBox, Path=IsChecked}
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
<telerik:RadGridView x:Name="myGrid">
</telerik:RadGridView/>
In code behind of the MyCustomFilter I registered my DependencyProperty.
I have to addmit, that we use MVVM and the grid is a view part only without codebehind.
How can I handle this issue ?
Thank you in advance,
Julian