Welcome to the Xceed Community | Help
Community Search  
More Search Options

Bind DetailConfiguration defined in Resources to a DataGrid

Sort Posts: Previous Next
  •  04-26-2012, 3:55 PM Post no. 32038

    Bind DetailConfiguration defined in Resources to a DataGrid

    Is there anyway you can create a DetailConfiguration section in the Resouce area and then assign it to some property on the DataGridControl? Or can you only declare that section under the DataGridControl itself.
  •  05-11-2012, 11:30 AM Post no. 32098 in reply to 32038

    Re: Bind DetailConfiguration defined in Resources to a DataGrid

    Hi gtd7791,

    An alternate way of doing this is by creating a DetailConfiguration in your Resources, and then adding it to your DataGridControl in code.

    For example:

       <xcdg:DetailConfiguration x:Key="myDetailConfiguration" ... >
          <!-- ... -->
       </xcdg:DetailConfiguration>

       DetailConfiguration detailConfig = FindResource("myDetailConfiguration") as DetailConfiguration;
       this.myGrid.DetailConfigurations.Add(detailConfig);

     


    ** Quick Tip: Clients with an active support subscription should be sending their questions by email if they wish to benefit from the faster response time. Thanks!


    Diane Lafontaine
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.