Page 1 of 1
rounded panel
Posted: Wed Apr 10, 2013 7:57 pm
by farrukhshahzad
How we can have rounded panel container with adjustable radius
Re: rounded panel
Posted: Thu Apr 11, 2013 8:25 am
by mark.monroe
I am not familiar with a panel container. Can you post a link to an online example of it or a picture?
Re: rounded panel
Posted: Thu Apr 11, 2013 3:06 pm
by farrukhshahzad
See the whitish background. How we can make it diff. radius
Re: rounded panel
Posted: Thu Apr 11, 2013 3:21 pm
by mark.monroe
I assume you are using a rectangle and targeting a PC. You can not round rectangles when targeting a Win CE terminal because of Win CE limitations.
- Snap 2013-04-11 at 15.20.07.jpg (39.2 KiB) Viewed 10979 times
Re: rounded panel
Posted: Mon Apr 15, 2013 11:30 pm
by farrukhshahzad
Thanks.
I found some 'Symbol control' (rectangles with predefined round radius) in the component library. This will work for me.
Re: rounded panel
Posted: Wed Apr 17, 2013 9:35 am
by AMitchneck
To change the radius of a rectangle you would need to manually edit the xml source.
In the Xaml tab of your screen, you will find something similar to this
Code: Select all
<nacc:Rectangle RadiusX="25" RadiusY="25" Fill="{TemplateBinding BorderBrush}" Stroke="#FF000000" />
to change the radius, simply modify RadiusX and RadiusY values (NOTE: these values are in pixels).
This will also work for CE panel projects as it informs iX Developer to change how its generates the rectangle's source image.