rounded panel

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
farrukhshahzad
Posts: 17
Joined: Wed Mar 27, 2013 1:49 pm

rounded panel

Post by farrukhshahzad »

How we can have rounded panel container with adjustable radius

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: rounded panel

Post 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?
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

farrukhshahzad
Posts: 17
Joined: Wed Mar 27, 2013 1:49 pm

Re: rounded panel

Post by farrukhshahzad »

See the whitish background. How we can make it diff. radius
Attachments
trip.jpg
trip.jpg (42.34 KiB) Viewed 10976 times

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: rounded panel

Post 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
Snap 2013-04-11 at 15.20.07.jpg (39.2 KiB) Viewed 10975 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

farrukhshahzad
Posts: 17
Joined: Wed Mar 27, 2013 1:49 pm

Re: rounded panel

Post by farrukhshahzad »

Thanks.

I found some 'Symbol control' (rectangles with predefined round radius) in the component library. This will work for me.

AMitchneck
Posts: 137
Joined: Mon Jun 11, 2012 2:10 pm

Re: rounded panel

Post 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.
Adam M.
Controls Engineer
FlexEnergy

Post Reply