Friday, 8 June 2012

ExpressionTextBox in .NET 4.5

The ExpressionTextBox allows you to databind to an argument on your activity and has, up until 4.5, had an optional OwnerActivity attribute which seemed to be optional. Whilst all activities in the framework used it, some custom activities might have omitted it as it worked in 4.0 without needing to be explicitly defined.

Now with .NET 4.5 this attribute is no longer optional – check out what I get if I forget to add it (the 3rd textbox is the one with the missing attribute, and I’m in a C# project)…


Not only do you get the horrific “Enter a VB expression” text, which sends a chill down my spine each time I see it, you’ll also find that the textbox is read-only if you omit the OwnerActivity attribute. It’s easy to fix though, the following highlighted XAML is all you need to change…

Expression="{Binding ModelItem.Body, Converter={StaticResource conv}}"
OwnerActivity="{Binding ModelItem}" .../>

This change in behaviour might be a problem for anyone upgrading their solutions to 4.5, so hopefully someone will find this post useful.


Unknown said...

Interesting Article

Dot Net Training in Chennai

Unknown said...

Nice blog. Best Selenium Training in Chennai |Selenium Training in Chennai |
Android Training in ChennaiBest Manual Testing Training in chennai

Jones said...

Thanks for the information, Useful and interesting. Learned many new things. Keep going
Best selenium training in chennai | Selenium training in chennai | Best automation training in chennai

Unknown said...

Very nice and interesting article, thanks for sharing your information... keep rocks....
Java Training in chennai | No 1 Java Training in chennai | Best Dot Net Training institute in chennai

srihariparu said...

It's really an innovative article. Keep to sharing the knowledge..
Mat Lab Project Center in Chennai | IEEE Mat Lab Projects in Velachery

Rigid Box said...

Thanks for sharing. this article wonderful website Information provided in this website are very nice.. Again Thanks for this article..

Unknown said...

Thanks for sharing this valuable information. You have posted good and valuable content. Keep sharing.
Final Year Project Center in Chennai | Final Year Project Center in Velachery

srihariparu said...

I have read your blog..Its really an awesome post with valuable content..keep updating.
No.1 Mobile Computing Project Center in Chennai | Best Mobile Computing Project Center in Velachery

srihariparu said...

Thanks for posting your informative and impressive Blog.
No.1 Image Processing Project Center in Chennai | Best Image Processing Project Center in Velachery

Coimbatore Ooty Taxi said...

Wonderful ! Thanks for Sharing this article keep update this kind of nice articles ..

Ed Sheeran said...

I strongly believe that there will be great opportunities for those who looked into this area, thanks much for sharing this beautiful article...
CompTIA Security+ Certifications Training in Chennai | Best S+ Exams in Taramani

Richard Majece said...

I am sure that information from this source will be helpful for students in any case. Here you can find quite useful advices about getting better grades.

Unknown said...

Really amazing article with smart and cute content..keep sharing.
Hardware and Networking Certifications Training in Chennai | No.1 Networking Exams in Besant Nagar

navya said...

It is amazing and wonderful to visit your site. Thanks for sharing this information, this is useful to me...
CompTIA Security Plus Certifications Course in Chennai | Best CompTIA Security+ Training in Mandaveli

varma said...

Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
CompTIA A Plus Certifications Coaching Center in Chennai | No.1 CompTIA Security+ Training in Pallavaram

Shanthi Cabs said...

Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Madurai Travels ! Best Travels in Madurai | Tours and Travels in Madurai

Suresh said...
This comment has been removed by the author.
Unknown said...

Thanks for posting your useful and interesting Blog ...Its really helpful to us,keep updating..
BE Final Year Project Center in Chennai | BE Project Center in Chromepet

Angel Claudia said...

We are among the best online companies providing affordable custom research paper writing services. When you cheap essay writing service USA and buy nursing essays online you get the services of experts and specialists in your field.

Aruna Ram said...

Great article and it is very inspiring to me. I glad to satisfy with your good job. You put the effort is very superb and I always appreciate your unique information. Keep it up.
Pega Training in Chennai
Pega Course in Chennai
Excel Training in Chennai
Corporate Training in Chennai
Embedded System Course Chennai
Linux Training in Chennai
Spark Training in Chennai
Tableau Training in Chennai
Pega Training in Tambaram
Pega Training in Porur

meldaresearchusa said...

It is normal for students to be anxious about hiring an online professional Nursing Writing Services because they can never be sure whether they can get high-quality affordable Nursing Assignment Services and the right Top Rated Nursing Writing Services or not.

beryltryphosa said...

snowflake interview questions
riya sold her car
zensoft interview questions
top 10 political websites
difference between vb and

Florahmelda said...

Unsure which firm produces Best Persuasive Speech Paper Writing Services in the industry to solve your College Persuasive Speech Papers needs? Legitimate Persuasive Speech Paper Writing Help is there for all your assignments needs.

Inoventic Creative Agency said...

Hello Admin!

Thanks for the post. It was very interesting and meaningful. I really appreciate it! Keep updating stuffs like this. If you are looking for the Advertising Agency in Chennai / Printing in Chennai , Visit us now..

Sankar said...

Great Article
IEEE Android Projects for CSE

Java Training in Chennai

FInal Year Project Centers in Chennai

Java Training in Chennai

shreekavi said...

Great post. keep sharing such a worthy information
Software Testing Training in Chennai
Software Testing Training in Bangalore
Software Testing Training in Coimbatore
Software Testing Training in Madurai
Best Software Testing Institute in Bangalore
Software Testing Course in Bangalore
Software Testing Training Institute in Bangalore
Selenium Course in Bangalore

shalini said...

I really enjoyed to read this blog. Thanks for sharing the useful information.
DevOps Training in Chennai
DevOps Training in Bangalore
DevOps Training in Coimbatore
Best DevOps Training in Bangalore
DevOps Course in Bangalore
DevOps Training Bangalore
DevOps Training Institutes in Bangalore
DevOps Training in Marathahalli
AWS Training in Bangalore
Data Science Courses in Bangalore

sanjandevan said...

Informative content,thanks for sharing...waiting for next update...
javascript training in chennai
javascript course in chennai
javascript training institute in chennai
javascript training in Thiruvanmiyur
javascript training in Tambaram
javascript training in chennai
core java training in chennai
Photoshop Classes in Chennai
Manual Testing Training in Chennai
Drupal Training in Chennai

diyasurya said...

Thanks for posting this information. Keep updating.
Spoken English Classes in Chennai
Best Spoken English Institute in Chennai
french courses in chennai
pearson vue
Blockchain Training in Chennai
Ionic Training in Chennai 
spanish institute in chennai
content writing training in chennai
Spoken English Classes in Velachery
Spoken English Classes in Tambaram

Vivek Vichu said...

Nice Blog...Thanks for sharing the article waiting for next update...
Artificial Intelligence Course in Chennai
artificial intelligence training in chennai
Mobile Testing Training in Chennai
C C++ Training in Chennai
javascript training in chennai
Html5 Training in Chennai
QTP Training in Chennai
Spring Training in Chennai
DOT NET Training in Chennai

noor said...

غسيل خزانات بالمدينة المنورة
غسيل خزانات بالمدينة المنورة

Sreyas Ram said...

valuable blog,Informative content...thanks for sharing, Waiting for the next update…
Study Abroad Consultants in Kerala
study abroad consultants in thrissur
Study Abroad Consultants in Calicut
abroad job consultancy in coimbatore
abroad job consultancy in calicut
abroad job recruitment agencies in calicut
study abroad
study in poland
study in europe
education in germany

arshiya said...

Very nice and interesting blog. You can also check my articles as well.
digital marketing updates
difference between big data and data science
best technology to learn
graphic design
rpa interview questions and answers

Mega said...

This information is very interesting to read. Thanks for updating.
convert list into string in python
convert list into string in python

Huongkv said...

Đặt vé máy bay tại Aivivu, tham khảo

vé máy bay đi Mỹ tháng nào rẻ nhất

mua vé về việt nam

Vé máy bay từ Đài Loan về Việt Nam

chuyến bay từ nga về việt nam

vé máy bay từ đức về sài gòn