﻿<?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 - Collection view columns to be changed dynamically based on device orientation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Collection-view-columns-to-be-changed-dynamically-based-on-device-orientation/</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>Collection view columns to be changed dynamically based on device orientation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Collection-view-columns-to-be-changed-dynamically-based-on-device-orientation/</link><pubDate>Mon, 25 Jan 2016 06:15:33 GMT</pubDate><dc:creator>Arief</dc:creator><category>collection</category><category>Crosslight</category><category>iOS</category><description>Hi Giridhar&lt;br&gt;&lt;br&gt;1. You can't since it's flow layout. But you can adjust the item size appropriately until it fits to your desire.&lt;div&gt;2. You can change it in your UICollectionViewCell here is the methods: open your Collection cell view in your xib editor, assign id to your main view, open your UICollectionViewCell, in your method Awake Nib assign new CGSize with your desired height and width to your this.YourID.Frame.&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. You can use&amp;nbsp;BindableProperties.StyleAttributesProperty which you can find the example&amp;nbsp;&lt;a href="http://git.intersoftsolutions.com/projects/CROS/repos/samples/browse/MyInventory/MyInventory.Core/BindingProviders/ItemListBindingProvider.cs" target="_blank" style="font-size: 10pt;"&gt;here&lt;/a&gt;, please note that it only use foreground and strikethrough, but you can assign background or any other option based on your specification&lt;/div&gt;&lt;div&gt;4. Look like i need to check your code, because based on my test, i can sucessfully trigger button click&lt;br&gt;&lt;br&gt;Best Regards,&lt;br&gt;Arief&lt;/div&gt;</description></item><item><title>Collection view columns to be changed dynamically based on device orientation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Collection-view-columns-to-be-changed-dynamically-based-on-device-orientation/</link><pubDate>Mon, 18 Jan 2016 02:14:21 GMT</pubDate><dc:creator>Arief</dc:creator><category>collection</category><category>Crosslight</category><category>iOS</category><description>&lt;p&gt;Hello Giridhar,&lt;br&gt;&lt;br&gt;I will ask our developer the method to achieve your specification, stay tune!&lt;/p&gt;</description></item><item><title>Collection view columns to be changed dynamically based on device orientation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Collection-view-columns-to-be-changed-dynamically-based-on-device-orientation/</link><pubDate>Thu, 07 Jan 2016 13:46:38 GMT</pubDate><dc:creator>sphinxg@usa.net</dc:creator><category>collection</category><category>Crosslight</category><category>iOS</category><description>&lt;p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;Hi All,&lt;/p&gt;&lt;ol&gt;&lt;li style="margin: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;How to set number of columns for each row in collection view based on device orientation?&lt;/li&gt;
&lt;li style="margin: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;How to set the collection view cell height and width programmatically?&lt;/li&gt;
&lt;li style="margin: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;How to set the background color for each collectionviewcell using bindable style property?&lt;/li&gt;
&lt;li style="margin: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;Unable to trigger button click event in Collection header.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;&lt;b&gt;For example,&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;&lt;ul&gt;&lt;li&gt;9 items to be bind in collection view then,&lt;/li&gt;&lt;li&gt;In Portrait mode, 2 columns to be shown and 3&lt;span style="font-size: 9px; line-height: normal;"&gt;&lt;sup&gt;rd&lt;/sup&gt;&lt;/span&gt;&amp;nbsp;row to be shown a single column&lt;/li&gt;&lt;li&gt;In Landscape mode, 3 columns to be shown&lt;/li&gt;&lt;li&gt;each cell has different color.&lt;/li&gt;&lt;li&gt;In native IOS (XCode), we have achieved above points by collectionViewLayout event.&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;Kindly share the details to achieve above points.&lt;/p&gt;&lt;p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;Best Regards,&lt;br&gt;Giridhar JG.&lt;/p&gt;&lt;p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 11px; line-height: normal; font-family: Helvetica;"&gt;











&lt;/p&gt;</description></item></channel></rss>