WPF Data Grid and Data Items

Sep 12, 2012 at 1:54 PM

All,

Anyone ever work with a WPF data grid or data items and CUITe?  We have these controls throughout our application and I need to find a way to operate on them.  I tried CUITe_WPFCustom but I wasn't able to find the control.  Data grid and item don't seem to be supported types in the CUITe WPF library.

Thanks

Jeff

 

 

Sep 14, 2012 at 6:21 PM

Just an Fyi - CUIT looks at the data grid as a winlist and the columns and row inside as a winlistitem.  You can use these types to access it if you ever run into it.

Thanks

Jeff

 

Coordinator
Sep 15, 2012 at 12:51 AM

Hi Jeff,

I checked in a sample unit test:

        [TestMethod]
        public void WpfTable_GetRowAndCellByAutomationId_CanGetCellValue()
        {
            CUITe_WpfRow row0 = mainWindow.dg1.Get<CUITe_WpfRow>("AutomationId=Row0");
            CUITe_WpfCell row0cell0 = row0.Get<CUITe_WpfCell>("AutomationId=cellRow0Col0");
            Assert.AreEqual("XML in Action", row0cell0.Value);
        }

dg1 is a CUITe_WpfTable.