Implementing disabled text in a UserControl ? [modified]
-
I have a task to deploy a multistate treenode that will display disabled text if the user is not authorized to modify/view the contents of the treenode item. :suss: I have everything implemented. :cool: But I was wondering if anyone knows of the "standard" for displaying disabled text in a control. I assume first off that the text background color = the control background color. But what should the ForeColor be set to? SystemColors.? I was hoping there was a SystemColors.DisabledText.....but no luck. Has anyone done this?
-- modified at 10:37 Friday 21st July, 2006
-
I have a task to deploy a multistate treenode that will display disabled text if the user is not authorized to modify/view the contents of the treenode item. :suss: I have everything implemented. :cool: But I was wondering if anyone knows of the "standard" for displaying disabled text in a control. I assume first off that the text background color = the control background color. But what should the ForeColor be set to? SystemColors.? I was hoping there was a SystemColors.DisabledText.....but no luck. Has anyone done this?
-- modified at 10:37 Friday 21st July, 2006