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
405
Disabled cell appearance
posted

Is it possible to change to font color on a cell with activation set to disabled?

We want to have the cell disabled so the user can not edit, or even tab into the cell, but yet have it still look like the rest.

  • 17259
    Offline posted

    Set cell.Appearance.ForeColorDisabled to any color you want.

    To change activation, make sure you set cell.IgnoreRowColActivation = true.