Bug 22102 - Defining <RowDefinition Height="{StaticResource SubHeaderHeight}" /> makes Windows Phone App Crash
Summary: Defining <RowDefinition Height="{StaticResource SubHeaderHeight}" /> makes Wi...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-08-14 07:01 UTC by Henrik Stromberg
Modified: 2016-03-16 12:18 UTC (History)
5 users (show)

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:

Description Henrik Stromberg 2014-08-14 07:01:15 UTC
Defining the RowHeight on a grid with static resource make app crash

            <OnPlatform x:TypeArguments="sys:Int32" x:Key="SubHeaderHeight" WinPhone="50" iOS="35" Android="35"/>


                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="Auto" />
                <RowDefinition Height="{StaticResource SubHeaderHeight}" />
                <RowDefinition Height="*" />

Comment 1 Udham Singh 2015-01-13 09:36:20 UTC
We have tried to reproduce this issue but not able to reproduce this. Could you please provide a sample app that demonstrate this issue? So that we can reproduce this issue at our end.

Also please include your build info, application output and Zip Zamarin Logs. 

You can get build info via 'VS > Help > About Microsoft Visual Studio > Copy Info and paste it here' and Zip Xamarin Logs via 'VS > Help > Zip Xamarin Logs'.

Comment 2 Jason Smith [MSFT] 2016-03-16 12:18:42 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we no longer believe it affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d

Warm regards,
Xamarin Forms Team