I am trying to set the checkbox to be grey. If the user clicks one box and its arguments over ride the other boxes then those will be greyed, but I have searched everywhere for this and cant find it, anyone have a solution? All i have seen was indeterminate but it doesnt necessarily grey it out, i dont like this
p@rse
-2
Light Poster
Recommended Answers
Jump to PostA checkbox control's value is a tri-state value: unchecked, checked or indeterminate. In code that is one of the following CheckStates:
CheckBox1.CheckState = CheckState.Unchecked CheckBox1.CheckState = CheckState.Checked CheckBox1.CheckState = CheckState.Indeterminate
where CheckState.Indeterminate means "greyed-out" value.
All i have seen was indeterminate but it doesnt necessarily grey it …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.