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
It seems that UIButtonView in UICarouselViewCell does not support Command Property Binding.
You know sometimes we need tap buttons in the carousel view to perform some custom actions, such as custom navigation target with different target source, it is common requirement when it is used as advertisement banner.
Please add this feature.
Hi Leo,I already inform the requested feature to our programmer (CommandProperty Binding in Custom View Slider - CROS-798), i will update you with the information regarding the Feature Request.Stay tuned for our newest build! :)Best Regards,Arief
Hi Leo,
We have uploaded the hotfix for CROS-798 featuring CommandProperty binding support to UIButton in custom UICarouselVewCell.
You can download the nightly build here. Please note that you need to use Unified API for it to work, also please mind that you need to add these code because how the UIButton work differently in iOS for ViewSlider. Just add the Bolded code below, i use the View Slider samples as the example:
[ImportBinding(typeof(ItemSliderBindingProvider))] public partial class ItemSliderViewController : UIViewController<ItemSliderViewModel>,ISupportItemBinding { private Dictionary<Type, IItemBindingAdapter> _itemBindingAdapters = null; public UICarouselView CarouselView { get; set; } public ItemSliderViewController() { } #region ISupportItemBinding implementation public Dictionary<Type, IItemBindingAdapter> ItemBindingAdapters { get { if (_itemBindingAdapters == null) _itemBindingAdapters = new Dictionary<Type, IItemBindingAdapter>(); return _itemBindingAdapters; } } #endregion protected override void OnViewInitialized() { base.OnViewInitialized(); //register the binding adapter for UIButton this.ItemBindingAdapters.Add(typeof(UIButton), Activator.CreateInstance<UIButtonItemBindingAdapter>()); this.Title = "Custom Template"; } protected override void InitializeView() { base.InitializeView(); this.EdgesForExtendedLayout = UIRectEdge.None; this.CarouselView = new UICarouselView(new CGRect(0, 0, this.View.Bounds.Width, this.View.Bounds.Height)) { AutoresizingMask = UIViewAutoresizing.FlexibleDimensions, CellTemplate = new UIViewTemplate(ItemSliderCellView.Nib) }; this.View.AddSubview(this.CarouselView); this.RegisterViewIdentifier("ViewSlider", this.CarouselView); } protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { this.ItemBindingAdapters.Clear(); } } }
Best RegardsArief
Nice
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