Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1810
Create Data template column at run time and Assign it to XamGrid Header Template
posted

Hi,

              I want to create a Data Template at runtime and add it to the XamGrid HeaderTemplate. I am creating the Columns from codebehind, what I want ist one TextBlock and one Button and One image in the Column Header. and On Click of Button I want to change the Image url. and TextBlock Text. Please let me know how to do this as early as possible.

Thanks

Parents
  • 25
    posted

    Hi,

    I am new to silverlight and started learning a week ago . I am wondering of how to do the following task.

    I have a datagrid defined in the silverlight XAML file and whose datasource is bound to the observalbecollection at runtime in the code behind file. Now I want to add a checkbox for each row being generated at runtime and when the uses selects this checkbox and I want to make sure that all the columns in theat row have content entered. 

Reply Children