﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Crosslight Form Builder - VisibilityBinding iOS</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---VisibilityBinding-iOS/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Crosslight Form Builder - VisibilityBinding iOS</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---VisibilityBinding-iOS/</link><pubDate>Fri, 30 Sep 2016 08:13:51 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;When will this be fixed? When will there be a new stable version of Crosslight?&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - VisibilityBinding iOS</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---VisibilityBinding-iOS/</link><pubDate>Fri, 02 Sep 2016 04:48:45 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This problem has been forwarded to Crosslight development team and submitted under CROS-1171. I will keep this thread updated with any news I heard from the team regarding this.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span&gt;As usual you will create a new CROS ticket for the dev team after reproducing the bug. This is the way it should be. The worse thing about it is that it will take weeks or months to get the fix.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Sorry for any inconvenience this problem may have caused you. I will informed this to the team to consider your concern. Again, thank you for the valuable feedback.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - VisibilityBinding iOS</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---VisibilityBinding-iOS/</link><pubDate>Thu, 01 Sep 2016 07:28:51 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;        Hello Yudi,&lt;/p&gt;
    &lt;p&gt;
        Thank you for the sample. You did it almost like I did. Please, make the following
        changes to reproduce the problem:&lt;/p&gt;
    &lt;p&gt;
        Item.FormMetadata.cs: Move the Sold section up to appear directly under the general
        section. This is for better visibility only.&lt;/p&gt;
    &lt;pre&gt;[Section(Style = SectionLayoutStyle.ImageWithFields)]
public static GeneralSection General;

[Section("Item Status")]
[VisibilityBinding(Path = "IsNewItem", SourceType = BindingSourceType.ViewModel, ConverterType = typeof(BooleanNegateConverter))]
public static SoldSection Sold;&lt;/pre&gt;
&lt;p&gt;ItemEditorViewModel.cs: Remove this.Item.HasReminder = true; from Navigated. Change&lt;/p&gt;
&lt;pre&gt;private void ExecuteViewLargeImage(object parameter)
{
	this.Item.HasReminder = !this.Item.HasReminder;
	//this.NavigationService.Navigate(new NavigationTarget(typeof(ItemDetailViewModel), "PhotoDetail", new NavigationParameter(this.Item)));
}&lt;/pre&gt;
    &lt;p&gt;After applying these changes start the app. Select a
            list item. No sold date is visible which is OK. Execute View Larger command through
            the image picker. No sold date is visible. Navigate back to the list and select
            the same item again. Now, the sold date is visible. Execute View larger. Sold date
            is still visible. Navigate back to the list and select the same item again. Sold
            date is gone.&lt;/p&gt;
    &lt;p&gt;So, doing the binding in on Navigated works, because
            you are in an early stage. But after the view is created the binding has no effect.&lt;/p&gt;
    &lt;p&gt;I hope this helps to reproduce the problem.&lt;/p&gt;
    &lt;p&gt;As usual you will create a new CROS ticket for the dev
            team after reproducing the bug. This is the way it should be. The worse thing about
            it is that it will take weeks or months to get the fix. Currently there is no public
            release schedule for Crosslight and no feature roadmap. This is a bad situation
            for Crosslight developers. Please, keep up a reliable release cycle of 4 weeks like
            you did with Update 1 and 2 of Crosslight 5.&lt;/p&gt;
    &lt;p&gt;Thanks,&lt;/p&gt;
    &lt;p&gt;Thomas&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - VisibilityBinding iOS</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---VisibilityBinding-iOS/</link><pubDate>Thu, 01 Sep 2016 04:45:43 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Apologize for the delay in sending this.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I started my investigation by modifying &lt;a href="http://git.intersoftpt.com/projects/CS/repos/basic-inventory/browse" target="_blank"&gt;basic-inventory&lt;/a&gt; sample of Crosslight.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The changes are:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="color: #1f497d;"&gt;&lt;li&gt;Add HasReminder property in Item class (see Item.cs)&lt;/li&gt;&lt;li&gt;Add VisibilityBinding attribute to SoldDate and set its Path to HasReminder (see Item.FormMetadata.cs)&lt;/li&gt;&lt;li&gt;Set the value of HasReminder in ViewModel (see Navigated in ItemEditorViewModel.cs)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I set HasReminder to true when user edit an item (parameter.Data != null. not new item). The SoldDate appear as expected. Try to add the VisibilityBinding attribute to another editor control (which EditorType is TextView) also works without problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I uploaded my sample, VisibilityBinding_Sample.zip, in &lt;a href="https://onedrive.live.com/download?cid=A29317908CEA783A&amp;amp;resid=A29317908CEA783A%21492&amp;amp;authkey=ABLzWMJnBoIOQ8Q" target="_blank"&gt;OneDrive&lt;/a&gt;. Please have a look at the sample and feel free to let me know if you find anything that I might miss during my attempt in order to reproduce the problem.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - VisibilityBinding iOS</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---VisibilityBinding-iOS/</link><pubDate>Thu, 25 Aug 2016 11:34:58 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Crosslight Support,&lt;/p&gt;    &lt;p&gt;I have a problem with the VisibilityBinding attribute on iOS.&lt;/p&gt;    &lt;p&gt;I have the following code in the form metadata class:&lt;/p&gt;
    &lt;pre&gt;[Editor(EditorType.Label)]
[Layout(Style = LayoutStyle.DetailOnly)]
[VisibilityBinding(Path = "HasReminder")]
public string ReminderInfo;&lt;/pre&gt;
    &lt;p&gt;The visibility of this property depends on the "HasReminder" bool property of the
        belonging model class, but "HasReminder" is not displayed via the form metadata
        class.&lt;/p&gt;
    &lt;p&gt;When a certain action is triggered, I set the "HasReminder" value in the ViewModel
        and I call:&lt;/p&gt;
    &lt;pre&gt;this.Item.RaisePropertyChanged(() =&amp;gt; this.Item.ReminderInfo);&lt;/pre&gt;
    &lt;p&gt;
        This works an Android but does not on iOS. When the "ReminderInfo" text should be
        visible, no additional row appears. When I leave the view and navigate back, the
        row appears.&lt;/p&gt;
    &lt;p&gt;
        When the "ReminderInfo" text should disappear, the text is cleared, but the row
        is still shown. When I leave the view and navigate back, the row is gone.&lt;/p&gt;
    &lt;p&gt;
        Any advice or fix?&lt;/p&gt;
    &lt;p&gt;
        Thanks,&lt;/p&gt;
    &lt;p&gt;
        Thomas
    &lt;/p&gt;</description></item></channel></rss>