Unplanned
Last Updated: 30 Mar 2016 13:54 by ADMIN
ADMIN
Boryana
Created on: 13 Dec 2012 07:49
Category: UI Framework
Type: Bug Report
2
FIX. RadPanel - applying a BackgroundShape and a RoundRectShape to RadPanel's RootElement results in incorrect clipping
Apply a RoundRectShape with Radius 25 to the RootElement of a RadPanel and set panel's BackgroundShape property. Note that the image is not clipped with the correct 25 radius.

Workaround: to avoid the issue through resetting the ApplyShapeToControl property when the panel is resized.
 void radPanel_SizeChanged(object sender, EventArgs e)
        {
            RadPanel panel = sender as RadPanel;
            if (panel != null)
            {
                panel.RootElement.ApplyShapeToControl = false;
                panel.RootElement.ApplyShapeToControl = true;
            }
        }
0 comments