Problems with custom cell template

2 posts, 0 answers
  1. Mads
    Mads avatar
    25 posts
    Member since:
    Nov 2014

    Posted 06 Jan 2015 Link to this post

    I am trying to create a custom filter tool for a group of texts

    I have the following XAML and codebehind is and my custom type is

    What I dont understand is that if I have 
                            DataMemberBinding="{Binding Path=Checked}"/>
                            DataMemberBinding="{Binding Path=Text}"/>

    Then it works but its ugly as I want to it look exactly like the 
    <CheckBox Content="{x:StaticExtension localization:SemenBucketTexts.SelectAll}" Click="SelectAll" />
    above with no borders or headers

    If I then try to create a custom celltemplate 

                                    <CheckBox Checked="{Binding Path=Checked}" Content="{Binding Text}"/>

    I get an exception 
    InnerException = {"Unable to cast object of type 'System.Reflection.RuntimeEventInfo' to type 'System.Reflection.MethodInfo'."}

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1218 posts

    Posted 06 Jan 2015 Link to this post


    Please, let us carry out any further communication on this matter in the other thread that you have opened, so that we can maintain consistent dialogue. I will close this thread for now

    Ivan Ivanov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top