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
795
Design time display and editting of columns?
posted

I've used your winform controls a lot before but I'm now evaluating a WPF framework for another project.  I'm on Visual Studio 2010 and using your latest 2010 Vol2.  I'm testing out your XamDataGrid and I don't see any design time visual support in that I mean I drop a grid, I add a field layout, add some fields, but nothing renders in the designer. The only thing I ever see is that short bar.

I'm also evaluating Telerik and I do see the columns with their grid but I can't change their widths or anything interactively. At least displaying the columns is better than nothing at all, as I can change the width in the xaml to see it reflected in the designer.

I know your WinForm grid supports this. Am I missing or doing something wrong with your WPF grid?

Can you display the columns at desgn time? If not, when are you going to support this?

 

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    If you bind the XamDataGrid to a static source that will retrieve the data before actually running the application, you will see the data and the columns in design time. Such sources are ObjectDataProvider, a static class or collection or an Xml source. For example, if you set the BindToSimpleData property to true, you will see data and fields from an xml source. You will not be able to adjust the fields through the designed, but any changes made in the xaml editor will reflect the design surface.

Children