Alok
Alok

Reputation: 3290

what is the best way to visualize object state?

I have a WPF grid bound a some object. I have 2 states for each object State1 and State2. State1 corresponds to the value of one column and depending on the value, I change the row color between red, yellow, or white.

I have another state, State2, corresponding to whether the row is dirty, waiting, or synched to the remote object. I cannot use row color to indicate State2 as it is already being used. What would be the best way to notify user for the state of State2?

I was thinking of adding a column with rectangles and change their colors but State1 color change will interfere with column colors also. Another way i was thinking is to have a color change for the row name. Is this possible. How do people achieve this in their applications?

Upvotes: 1

Views: 252

Answers (3)

urbadave
urbadave

Reputation: 231

There are two parts to coloring a row: the background color and the foreground (text) color.

The background colors vary red, yellow or white. If you can use a bold font, then font colors can provide the information. Black for clean, gray for dirty would work. The dirty rows' text would appear lighter, so they'd stand out.

Upvotes: 0

myermian
myermian

Reputation: 32525

The easiest way to distinguish things without taking up too much space is icons. :)

Upvotes: 1

Aaron Anodide
Aaron Anodide

Reputation: 17196

The simplest thing I think is to just make a column named "state2" or whatever and make it simply show the word that corresponds to the state information.

Then, on top of that, you have the option of adding color cues that change along with the text.

This way you never have to worry about the user not being able to tell the exact value of the information he/she is looking at.

Upvotes: 1

Related Questions