iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Guys,
Is this feature already implemented on Crosslight? We understand there is a UseCircleMask property for ImageAttribute on Forms, but is there an implementation for images on ListView controls used by Crosslight?
http://blog.xamarin.com/elegant-circle-images-in-xamarin.forms/
Hi Jimmy Tungol,
Unfortunately, Crosslight not yet support circular image on ListView controls using formbuilder.But you could adopt other approach by using UITableViewController on iOS and override the CellImageSettings to have a CornerRadius. Example:
public override ImageSettings CellImageSettings { get { return new ImageSettings() { ImageSize = new SizeF(36, 36), CornerRadius = 18; }; } }
Best Regards,
Leo
Hi Jimmy,
Both WinPhone and WinRT can use this:
<!--Replace <Image Source="{Binding YourImage, Converter={StaticResource ImageConverter}"/> With --> <Ellipse> <Ellipse.Fill> <ImageBrush ImageSource="{Binding YourImage, Converter={StaticResource ImageConverter}"/> </Ellipse.Fill> </Ellipse>
But for Android currently there are no easy way to create circular image however Crosslight Team already solve the issue and will be available in next version of crosslight also it will be similar to how IOS create circular image.
i will update you when next version are available.
Arief
Nice, how about for other platforms? Like android...
I'd like to update that a nightly build of Crosslight is now available in here. This update includes the feature to display circular image on ListView for Android platform.
Simply ImageSettings property in the activity such as shown in the following snippet code.
public override ImageSettings ImageSettings { get { return new ImageSettings() { ImageSize = new SizeF(160, 160), CornerRadius = 80f }; } }
Hope this help.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname