Hello Pavel Trnka,
In order to set the color of RadPanel when it is disabled, you need to set two properties:
1. The BackColor property to an appropriate value according to the Enabled state.
2. The UseDefaultDisabledPaint property should be set to false.
Please consider the following sample code snippet:
sender, EventArgs e)
.radPanel1.BackColor = Color.Transparent;
.radPanel1.BackColor = Color.Red;
Generally, it is not necessary to set the UseDefaultDisabledPaint
in this case the colors of the FillPrimitive
contained in the RadPanel are Transparent
. However, if the FillPrimitive of the RadPanel has a color, this property should be set, otherwise, you will get gray colors for the this primitive.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items.