[forms-devel] Offer to extend Frame and add SegmentedButtonGroup
Michael Ridland
rid00z at gmail.com
Mon May 9 06:41:24 UTC 2016
With those colors and radius it looks like a iOS control but it's not
necessarily for iOS only. Most likely colors and radius would be within the
design of the app anyway, with a dark theme it would be dark and light
theme it would be light.
[image: Inline image 1]
*Michael Ridland | Technical Director | Xamarin MVP*
XAM Consulting - Mobile Technology Specialists
www.xam-consulting.com
Blog: www.michaelridland.com
On Mon, May 9, 2016 at 4:11 PM, Jason Smith <jason.smith at xamarin.com> wrote:
> Hi Michael,
>
> The frame corner properties seems fine, please submit a spec to the
> Xamarin Evolution repo.
>
> The segmented button group is nice but how should it look on non-iOS
> platforms?
>
> Jason
>
> On Sun, May 8, 2016 at 10:30 PM, Michael Ridland <rid00z at gmail.com> wrote:
>
>> 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
>>
>>
>>
>> _______________________________________________
>> forms-devel mailing list
>> forms-devel at lists.xamarin.com
>> http://lists.ximian.com/mailman/listinfo/forms-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/forms-devel/attachments/20160509/d684ec80/attachment-0001.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/d684ec80/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-05-09 at 4.40.33 PM.png
Type: image/png
Size: 8573 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/forms-devel/attachments/20160509/d684ec80/attachment-0003.png>
More information about the forms-devel
mailing list