Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
A UserControl is a ContainerControl and when set to Enabled=false, all child controls are disabled. If you put several controls into a GroupBox and then set Enabled=false on the GroupBox, all of the child controls of the GorupBox will be disabled. If the EditingState of the UserControl is following the business object, then when the UserControl is set to Enabled=false through the EditingState, then all child controls will be disabled. It has nothing to do with the labels being bound and explicitly set to Enabled=false. In fact, the labels aren't ever touched. But since they belong to a parent ContainerControl that was disabled, they get disabled, too.
|