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
2589
Style for a particular row selector
posted

Hi.

Is that possible to set a style for a single row selector? For example, when something has changed in the very last cells of this row and they're not in visible area? I need to put custom icon on row selector, something like a pensil on edited row

Thank you.

Parents
No Data
Reply
  • 21382
    Verified Answer
    posted

    Currently no,  however this issue has been addressed in the upcoming Service Release and the Silverlight 9.2 Line of Business release.

     

    When these become available you will be able to set the Style on an individual row selector in a manner like this.

    // Loads a style from a resouce file

    Style directCellStyle = this.LoadXaml("RowSelectorCellControlDirectCellStyle", this.XamlFile) as Style;

    // sets the loaded style to an individual row selector on the top level rows collection.

    grid.Rows[0].Cells[grid.Columns.RowSelectorColumn].Style = directCellStyle;

     

Children