rounded panel
-
- Posts: 17
- Joined: Wed Mar 27, 2013 1:49 pm
rounded panel
How we can have rounded panel container with adjustable radius
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: rounded panel
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
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
-
- Posts: 17
- Joined: Wed Mar 27, 2013 1:49 pm
Re: rounded panel
See the whitish background. How we can make it diff. radius
- Attachments
-
- trip.jpg (42.34 KiB) Viewed 10983 times
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: rounded panel
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.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
-
- Posts: 17
- Joined: Wed Mar 27, 2013 1:49 pm
Re: rounded panel
Thanks.
I found some 'Symbol control' (rectangles with predefined round radius) in the component library. This will work for me.
I found some 'Symbol control' (rectangles with predefined round radius) in the component library. This will work for me.
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: rounded panel
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
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.
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" />
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
Controls Engineer
FlexEnergy