• Spell Checking in the XamDataGrid

    Overview

    Utilizing the Framework’s built-in capabilities for spell checking makes adding spell-checking support to the XamDataGrid a breeze. 

    The Code

    Basically, you just need to turn on spell checking for the editor that is being used in the…

  • XamDataGrid :: Copying to Excel via the Clipboard

    One of the common tasks that many end-users have is to copy data from an application to Excel or Word or any other Windows Apps.  The way to do this is to copy items to the Clipboard and Microsoft provides a really nice class that makes this simple to…

  • Validation in the XamDataGrid

    Validation in the XamDataGrid is currently handled through the ValueConstraint class off of the Editors.  Using this class you can do things like set a trigger to change the border of a cell to red when an invalid value it entered.  This article shows off…

  • 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…

  • 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…
  • 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;…
  • 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…