[forms-devel] Offer to extend Frame and add SegmentedButtonGroup

Michael Ridland rid00z at gmail.com
Mon May 9 05:30:45 UTC 2016


Hi

I'm making an offer to implement two features in the Forms codebase, as per
below. I'm happy to change spec based on feedback.

*Extending the Frame to have two new properties.*

Corners - a enum { All, TopLeft, TopRight, BottomLeft, BottomRight, None }
CornerRadius - float with a radius for the corner

Adding this feature to the Frame is a great building block for more
advanced UI and controls.

*Add new control SegmentedButtonGroup*

Based on the new features of the Frame I can build a segmented button group
control.

<SegmentedButtonGroup OnColor="Blue" OffColor="White"
SelectedIndex="{Binding SelectIndex, Mode=TwoWay}">
    <SegmentedButtonGroup.SegmentedButtons>
        <SegmentedButton Title="Button 1"/>
        <SegmentedButton Title="Button 2"/>
        <SegmentedButton Title="Button 3"/>
    </SegmentedButtonGroup.SegmentedButtons>
</SegmentedButtonGroup>

[image: Inline image 1]

This control is very useful and commonly used in modern apps, not to
mention many designers are using it these days.

Thanks


*Michael Ridland | Technical Director | Xamarin MVP*

XAM Consulting - Mobile Technology Specialists

www.xam-consulting.com

Blog: www.michaelridland.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/forms-devel/attachments/20160509/8dc53190/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6503 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/forms-devel/attachments/20160509/8dc53190/attachment.png>


More information about the forms-devel mailing list