Bug 31608 - Xamarin.Forms RowDefinition Binding does not work
Summary: Xamarin.Forms RowDefinition Binding does not work
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Stephane Delcroix
URL:
Depends on:
Blocks:
 
Reported: 2015-07-03 02:35 UTC by Prashant Cholachagudda
Modified: 2015-07-15 09:41 UTC (History)
6 users (show)

Tags: AC
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Prashant Cholachagudda 2015-07-03 02:35:02 UTC
Xamarin.Forms RowDefinition Binding does not update value from the view model property.
Code sample: https://gist.github.com/prashantvc/85b7b1d59f37febbbbc4
Forums post: http://forums.xamarin.com/discussion/30395/grid-row-height-binding-does-not-work
Comment 1 Udham Singh 2015-07-03 06:31:09 UTC
I have checked this issue with the help of sample code provided in bug description and observed that RowDefinition Binding does not work properly. To reproduce this issue I have implemented the code provided in bug, run the app and observed that getter part of property ToolbarHeight (for Grid RowDefinition binding) does not call on click of button "Click".

Please refer the screencast : http://www.screencast.com/t/RszA2im5e

Ide Logs : https://gist.github.com/Udham1/c20544c35d39bae6af45
Application Output : https://gist.github.com/Udham1/7cdc702a69428caaf162
Build Output : https://gist.github.com/Udham1/f1e1e5fa7544cbe8c1d2
System Log : https://gist.github.com/Udham1/5544ab5c5f9677549367

Environment Info :

Xamarin.Forms : 1.4.3.6374

=== Xamarin Studio ===

Version 5.9.4 (build 5)
Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc
Runtime:
	Mono 4.0.2 ((detached/c99aa0c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020005

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.Mac ===

Version: 2.0.2.35 (Enterprise Edition)

=== Xamarin.Android ===

Version: 5.1.4.16 (Enterprise Edition)
Android SDK: /Users/xamarin76/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.iOS ===

Version: 8.10.2.37 (Enterprise Edition)
Hash: ef8c2f7
Branch: master
Build date: 2015-06-22 21:28:32-0400

=== Build Information ===

Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Mac OS X 10.9.5
Darwin Xamarin76s-Mac-mini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 4 Stephane Delcroix 2015-07-06 05:33:01 UTC
@Prashant: no, it's a bug. that was a note to myself or the team when we will fix it.
Comment 5 Jason Smith [MSFT] 2015-07-08 04:59:23 UTC
Should be fixed in 1.4.4-pre1
Comment 6 Parmendra Kumar 2015-07-15 09:41:51 UTC
I have checked this issue with XF 1.4.4-pre1 and observed that ToolbarHeight (for Grid RowDefinition binding) called successfully. 

Screencast: http://www.screencast.com/t/ZJln3b573Li

If I am using XF 1.4.4-pre1, Observed that Label doesn't appear when I use Grid.Row
Screencast for the same: http://www.screencast.com/t/BIJDU50bCTU
So I have filed a separate bug: https://bugzilla.xamarin.com/show_bug.cgi?id=31967


Thanks!!