• Enable Fixed Fields in the XamDataGrid

    <igDP:XamDataGrid Name="xamDataGrid1" BindToSampleData="True">
        <igDP:XamDataGrid.FieldSettings>
            <igDP:FieldSettings AllowFixing="NearOrFar" />
        </igDP:XamDataGrid.FieldSettings>
    </igDP:XamDataGrid>
    • Mon, Apr 6 2009
  • Enabling Record Filtering in the XamDataGrid

     

    Record Filter with Filter Record

    <igDP:XamDataGrid Name="xamDataGrid1" BindToSampleData="True">
        <igDP:XamDataGrid.FieldSettings>
            <igDP:FieldSettings AllowRecordFiltering="True" />
        </igDP:XamDataGrid.FieldSettings>
    </igDP:XamDataGrid>

     

    Record Filter with Field Header Icon

    <igDP:XamDataGrid Name="xamDataGrid1" BindToSampleData…
    • Mon, Apr 6 2009
  • Save and Load Customizations in the XamDataGrid

    Save Customizations

    using System.IO;
    ...
    using (FileStream fs = new FileStream("xamDataGridLayout1.xml", FileMode.Create, FileAccess.Write))
    {
        this.xamDataGrid1.SaveCustomizations(fs);
    }
    

    Load Customizations

    using System.IO;
    ...
    //Load the layout from a stream
    using(FileStream fs = new FileStream("xamDataGridLayout1.xml", FileMode.Open, FileAccess.Read))
    {
        this.xamDataGrid1.LoadCustomizations…
    • Sat, Feb 28 2009
  • XamDockManager -- Save and Load Layouts

    Save Layout

    using System.IO;
    ...
    using (FileStream fs = new FileStream("layout.xml", FileMode.Create, FileAccess.Write))
    {
        this.xamDockManager1.SaveLayout(fs);
    }
    ...
    

    Load Layout

    using System.IO;
    ...
    //Load the layout from a stream
    using(FileStream fs = new FileStream("layout.xml", FileMode.Open, FileAccess.Read))
    {
        this.xamDockManager1.LoadLayout(fs);
    }
    ....
    
    //Handle the InitializePaneContent…
    • Sat, Feb 28 2009
  • Changing the XamDataPresenter's View at Runtime

    The XamDataPresenter is a look-less control and has the ability to display multiple views. The two views that it currently ships with are a GridView and a CarouselView. Essentially, with the underlying model that provides things such as hierarchical databinding, Outlook Group-By, AddNew, etc. a developer could use that framework to create their own view of their data. For instance, a cardview could be created to demonstrate…

    • Sat, Feb 28 2009
  • Editing Alternate Rows in the XamDataGrid

    Turn on Alternate Row Highlighting:

     

    <igDP:XamDataGrid x:Name="XamDataGrid1" BindToSampleData="True" >
        <igDP:XamDataGrid.FieldLayoutSettings>
            <igDP:FieldLayoutSettings HighlightAlternateRecords="True"/>
        </igDP:XamDataGrid.FieldLayoutSettings>
    </igDP:XamDataGrid>

     

    To set the colors of the Alternate Row, simply create a style for the…

    • Sat, Feb 28 2009