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
Can I use StyleAttributes or some type of converter to override at runtime the locations of elements within a UITableViewCell using the binding providers to separate the actual UI project.
I'd like to be able to define converters for item styles within ListView for Android and UITableViewCells in iOS, without write the code inside the platform specific UI project. So basically I have a UITableViewCell with several controls and at runtime using IValueConverters or style attribiutes in combination with Bind Providers change attribiutes, including the location and docking/anchors of the control at runtime through code, not the designer.
Is this possible?
HI Nick,
It's very unfortunate, but it seems it's not possible right now using the StyleAttributes, since it only provides properties to change the background and foreground color, as well as applying strikethrough text. However, this issue is open as a feature request and will have it in our v3 roadmap.
Thanks for your valuable feedback Nick! I think that would be difficult to accomplish, as you said. In Crosslight core project, we try as much as we can not to introduce platform-specific technologies into it, so that we can handle the behavior on each platform directly. Have you come across our form builders? Check out our MyInventory sample that comes with Crosslight, and check out Item.FormMetadata.cs. Since our form builders are based upon attributed properties, this way, it's platform-agnostic, and we can handle them properly based on the platform that we're currently working on. I'll try to raise this request to our development team, however, expect it not to be available anytime soon.
On a second thought, I have new suggestions for you. You can introduce your own "form metadata", but instead, a "table cell metadata" on which you can build in the core project, and translate them on each platform. Let me know if you have any other thoughts.
Thanks!
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