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
2815
Change background color of selected row
posted

Guys, my grid is using Office2KBlack theme but I will like to change the color of a selected row.  Any template samples to do this?  TIA.

Klaus

  • 69686
    Verified Answer
    posted

    Hello Klaus,

    You can create a style for the DataRecordCellArea element of the XamDataGrid and set the BackgroundSelected property. You would either have to apply this style explicitly (XamDataGrid - FieldLayoutSettings - DataRecordCellAreaStyle) or put it in the XamDataGrid's Resources. You can find out mode information on issues with themes here.