Bug 58483 - Visual Studio XAML Intellisense shows RelativeLayout.BoundsConstraint (can't be set), but not XConstraint, YConstraint, WidthConstraint, or HeightConstraint
Summary: Visual Studio XAML Intellisense shows RelativeLayout.BoundsConstraint (can't ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-07-29 16:38 UTC by Nicholas Bauer
Modified: 2017-09-14 15:20 UTC (History)
7 users (show)

Tags:
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 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:
RESOLVED DOWNSTREAM

Description Nicholas Bauer 2017-07-29 16:38:09 UTC
As it says on the tin: I can type RelativeLayout.BoundsConstraint="", which lets me access {ConstraintExpression} Intellisense, but of course when it tries to compile this I get an error. The property-specific constraints aren't options and when used, don't provide Intellisense for typing the {ConstraintExpression}, but does compile and the expression work.
Comment 1 Paul DiPietro [MSFT] 2017-07-29 17:24:09 UTC
I believe this has to do with their being attached properties but I want to reassign this to VS to get feedback from them due to involving Intellisense.
Comment 2 Prashant [MSFT] 2017-08-03 08:23:23 UTC
Could you share the sample XAML or a sample project demonstrating this issue? It will help us to reproduce the issue and evaluate the fix
Comment 3 Nicholas Bauer 2017-08-03 15:33:06 UTC
I don't know if that would help. If I type a control e.g. "<BoxView Abso", Intellisense pops up with "AbsoluteLayout" as a suggestion, right?

If I type "<BoxView Rela", it suggests "RelativeLayout".

If I type "<BoxView RelativeLayout.", only suggestion is "BoundsConstraint". No XConstraint or YConstraint etc.

I guess, does this work fine for you all? If so, perhaps it's my install, which I'll take a look at more closely and get back to you.
Comment 4 Prashant [MSFT] 2017-09-04 05:26:05 UTC
Do you still have this issue? I am not able to reproduce this in latest version of VS 15.3.2 (https://www.dropbox.com/s/iw1zfp0b2dkor96/Screenshot%202017-09-04%2012.18.45.png?dl=0)

I am marking this bug RESOLVED, please reopen if you continue to have a problem with intellisense
Comment 5 Nicholas Bauer 2017-09-13 01:29:38 UTC
Yes, the problem still exists for me on latest release version 15.3.3.

w/ Xamarin 4.6.0.299
Comment 6 Prashant [MSFT] 2017-09-13 08:08:09 UTC
@Nicholas,

We are still not able to reproduce this issue.

Are you using Shared project or PCL? 

could you please provide
- Detailed reproduction steps
- Version information (Help → About Microsoft Visual Studio → Copy Info)
- Logs (Help → Xamarin → Zip Logs (last 7 days))
- Optional: project to reproduce your issue

It will help us to troubleshoot the issue
Comment 7 Jimmy [MSFT] 2017-09-14 15:20:27 UTC
I was able to reproduce this issue with VS 15.3.3 when using Xamarin.Forms 2.3.4.247. However after updating to Xamarin.Forms 2.4.0-pre2 Intellisense now shows all RelativeLayout attached properties as expected.