This question is locked. New answers and comments are not allowed.
Is it possible to create a generic cell style selector. Example if the content of the cell is negative (assume the content is numeric) I want the RedStyle if it is >= zero then the GreenStyle.
Currently I use the typeof(item) and deal with the type as I know the cell I have assigned the selector to. What I want is to assign the selector to any numeric cell and have the selector do the work without having to reference the underlying object type.
Currently I use the typeof(item) and deal with the type as I know the cell I have assigned the selector to. What I want is to assign the selector to any numeric cell and have the selector do the work without having to reference the underlying object type.