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
170
Setting isExpanded in XAML
posted

I have a sorted data grid.  By default it displays everything collapsed. 

By handling the InitializeRecord event  in the code-behind file I can set Record.IsExpanded = true and get the grid to display everything expanded at startup.

How can I do the same thing in XAML?

Thanks,

- Dave

 

Parents
  • 69686
    posted

    Hello Dave,

    You can create a style for the DataRecordPresenter and add a setter for IsExpanded property to true.

    You can also use a EventTrigger and use igDP:XamDataGrid.Loaded event to expand them with the same setter.

    Hope this helps,

    Alex.

Reply Children