What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 2982 |  Welcome, Guest!   Register  Login
  Home > Community Home >

Beta 2 {TemplateBinding} problem

 Author: Maciek | Posted on: 6/8/2008 9:38:44 AM | Views: 65

Recommend an Articles | Recommended Articles | Search Resources | Community Home |




so I've made a custom button template and now I'm attempting to bind a grid's width and height by
making them : Width = "{TemplateBinding Width}"  and Height = "{TemplateBinding Height}". I'm using Blend 2.5 June preview, as soon as I bind any of those properties - I'm getting an exception. 100% reproduceable.

 
1. Create an empty template 
2. Draw some stuff
3. Attempt to TemplateBind width or height
4. BOOM
 
Haven't tried other properties yet. Can anyone explain if I'm doing something wrong? My course of action did work in Beta 1, and it didn't find anything wrong with template binding. 
... Go to the complete details ...

Found interesting? Add this to:



 Possibly related posts


Failt whist silently installing SQL Server 2008 R2 Express Edition sp1 on Vista Business sp2 (3)  New SQL Express 2012 Installation Failure on Win 7 (14)  New
File uploads not working in IIS7 working fine on IIS6 version (27)   Operation must use an updateable query (23)  
Manage.aspx: ProviderIncompatibleException on "new" project (36)   Permission problem? (24)  
connecting mysql in asp.net application (15)  New Create User using MultiView (0)  New
The name 'UserName' does not exist in the current context error (0)  New How best to lock down files for authorized access only (0)  New
What's the best practice to have mixed authentication (Forms and Windows) (0)   Windows and Anonymous for AJAX-Enabled WCF not working for firefox? (0)  New
HttpHandler + Medium Trust Level + GAC + PermissionSet (0)  New FindControl in WizardStep with MasterPage (0)  
asp.net iis server hosting (0)  New news aggregation development (0)  New
how to get last id in textbox (0)  New " from Javascript alert, consider end tag from start tag " from Javascript alert, consider end tag from start tag
About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 10:25:37 PM