-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello,
a SegmentedControl can have image inside.
For iPhone is simple:
Info SegmentedControl add
public static readonly BindableProperty ImageProperty = BindableProperty.Create(nameof(Image), typeof(string), typeof(SegmentedControl), ""); public string Image { get { return (string)GetValue(ImageProperty); } set { SetValue(ImageProperty, value); } }
Into contentpage:
<controls:SegmentedControlOption Image="blog.png" Text="Two" />
Into SegmentedControlRenderer:
segmentedControl.SetImage(UIImage.FromFile( e.NewElement.Children[i].Image ), i);
In wich way I can add image into Android implementation ?
Thanks
Metadata
Metadata
Assignees
Labels
No labels