﻿<?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 - How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</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>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Sun, 18 May 2014 23:34:46 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Awesome! We'll try it out. Thanks!&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Thu, 15 May 2014 23:57:18 GMT</pubDate><dc:creator>nicholaslie</dc:creator><description>&lt;p&gt;Hi Domingo,&lt;/p&gt;&lt;p&gt;I have uploaded a sample here:&amp;nbsp;&lt;a href="http://git.intersoftpt.com/projects/CROS-SUPP/repos/bind-visibility-uitextfield/browse" target="_blank"&gt;http://git.intersoftpt.com/projects/CROS-SUPP/repos/bind-visibility-uitextfield/browse&lt;/a&gt;. You can try using this sample with the new Crosslight v2 assemblies.&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Wed, 14 May 2014 17:53:40 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Any updates?&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Mon, 05 May 2014 13:36:45 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Any updates?&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Tue, 15 Apr 2014 01:35:12 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>Hi Nich,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Thanks for responding. Crosslight v2 is very promising, but is there a workaround to this issue? We were under the impression that these bindings should work as expected. Considering it's a common textfield control. But since it's a bug and the v2 release date has no specifics, we're hoping you could provide a temporary solution to this bug.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanks!&lt;/div&gt;&lt;/div&gt;</description></item><item><title>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Mon, 14 Apr 2014 23:25:36 GMT</pubDate><dc:creator>nicholaslie</dc:creator><description>&lt;p&gt;Hi Domingo,&lt;/p&gt;&lt;p&gt;Sorry for the long wait. We have investigated this issue and it is confirmed as a bug. We'll patch this issue in the upcoming Crosslight v2 which will be released at the end of this month.&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Mon, 14 Apr 2014 12:51:49 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>Nothing?</description></item><item><title>How to Use Crosslight to Hide TextField controls at runtime?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Hide-TextField-controls-at-runtime/</link><pubDate>Sat, 12 Apr 2014 17:22:08 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>How do you use the &lt;b&gt;BindableProperties.IsVisibleProperty&lt;/b&gt; with text fields? We are talking about common text fields on &lt;b&gt;UIViewControllers&lt;/b&gt;, not the ones used on &lt;b&gt;UIFormViewController&lt;/b&gt;. The BindableProperties.TextProperty seems to be working, so the binding isn't the culprit.&amp;nbsp;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Now, we are also binding the same viewmodel property using BindableProperties.IsVisibleProperty with &lt;b&gt;BUTTONs &lt;/b&gt;and seems to be &lt;i&gt;&lt;b&gt;working fine&lt;/b&gt;&lt;/i&gt;. When we tried to create our own BindableProperty, the visibility is working fine but the &lt;b&gt;TextProperty &lt;/b&gt;binding is &lt;b&gt;no longer working&lt;/b&gt;. Here's the BindingProvider object.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;pre&gt;this.AddBinding("ActivateButton", BindableProperties.CommandProperty, "ActivateCommand");
this.AddBinding("LoginButton", BindableProperties.CommandProperty, "LoginCommand");
var p_CompanyCode = new BindingDescription("CompanyCode", BindingMode.TwoWay, UpdateSourceTrigger.PropertyChanged);
var p_UserName = new BindingDescription("UserName", BindingMode.TwoWay, UpdateSourceTrigger.PropertyChanged);
var p_Password = new BindingDescription("Password", BindingMode.TwoWay, UpdateSourceTrigger.PropertyChanged);
this.AddBinding("CompanyCodeText", BindableProperties.TextProperty, p_CompanyCode);
this.AddBinding("UsernameText", BindableProperties.TextProperty, p_UserName);
this.AddBinding("PasswordText", BindableProperties.TextProperty, p_Password);
var p_ShouldActivate = new BindingDescription("ShouldActivate", BindingMode.TwoWay, UpdateSourceTrigger.PropertyChanged);
this.AddBinding("ActivateButton", BindableProperties.IsVisibleProperty, p_ShouldActivate);
this.AddBinding("CompanyCodeText", TextFieldProperties.IsVisibleProperty, p_ShouldActivate);
var p_IsActivated = new BindingDescription("IsActivated", BindingMode.TwoWay, UpdateSourceTrigger.PropertyChanged);
this.AddBinding("LoginButton", BindableProperties.IsVisibleProperty, p_IsActivated);
this.AddBinding("UsernameText", TextFieldProperties.IsVisibleProperty, p_IsActivated);
this.AddBinding("PasswordText", TextFieldProperties.IsVisibleProperty, p_IsActivated);&lt;/pre&gt;&lt;p&gt;We understand that custom components are not supported, but UITextField isn't. This means that we are not even supposed to be using a custom BindingAdapter nor creating our own BindableProperty just to make this work. So, is there anything else we need to do here?&lt;/p&gt;&lt;/div&gt;</description></item></channel></rss>