Stories recently tagged with 'Binding'

[WPF] How to bind to data when the DataContext is not inherited(tomlev2.wordpress.com)

submitted by tom103tom103(161) 1 year, 2 months ago

This post describes a solution for binding properties on elements that don't inherit the DataContext. This solution takes advantage of the Freezable class read more...

add a comment |category: |Views: 39

tags: another

PriorityBinding – Binding the async way (www.prathameshkulkarni.com)

submitted by kulkarpkulkarp(20) 1 year, 4 months ago

I keep discovering new features in wpf/silverlight data binding. The newest addition to my knowledge base is PriorityBinding. With PriorityBinding you can associate binding target property to a group of bindings. The binding with the highest priority is evaluated and become active binding. read more...

add a comment |category: |Views: 33

tags: another

notifypropertyweaver – {get;set;notify} in Silverlight (www.prathameshkulkarni.com)

submitted by kulkarpkulkarp(20) 1 year, 4 months ago

So, what does notifypropertyweaver do? If your class implements INotifyPropertyChanged then you just need to have auto-implemented properties and notifypropertyweaver automagically ensures that on change of value of a property, PropertyChanged event is fired. read more...

add a comment |category: |Views: 45

tags: another

WPF DataGrid - DataBinding to SQL Server Database(www.viblend.com)

submitted by viblendviblend(160) 1 year, 5 months ago

This post demonstrates how to bind the VIBlend WPF DataGrid to SQL Server DataBase read more...

add a comment |category: |Views: 112

tags: another

Binding to Anonymous types in Silverlight(grahammurray.wordpress.com)

submitted by gmurraygmurray(20) 1 year, 11 months ago

Talks about the problems with binding against anonymous types in Silverlight, and offers some possible solutions to the issues. read more...

add a comment |category: |Views: 15

tags: another

Working with ASP.NET GridView binding using List , ClientIDMode in ASP(syntaxhelp.com)

submitted by hima_.nethima_.net(440) 2 years, 5 months ago

Syntax help on GridView binding and clientIDmode property usage in ASP.NET read more...

add a comment |category: |Views: 24

tags: another

This whimsical binding. TwoWay Binding to DataContext. Binding in WPF (rredcat.blogspot.com)

submitted by RredCatRredCat(299) 2 years, 11 months ago

I often use Binding to DataContext. It is one of the main advantage of WPF. In most case I set custom class inherit of DependencyObject (for support DependencyProperty) and I have some like next code: <StackPanel> <TextBlock Text="{Binding Path=Id}" /> <TextBlock Text="{Binding Path=Name}" /> <TextBlock Text="{Binding Path=Surname}"/> ... </StackPanel> But sometime I set a simple type for example string. For this case I can implement next Binding: <TextBlock Text="{Binding}" /> read more...

add a comment |category: |Views: 47

tags: another

Use dataBinding and DependencyProperty with a non-WPF or extern object(blog.lexique-du-net.com)

submitted by jmix90jmix90(570) 3 years, 1 month ago

Sometimes you need to use the databinding with an object that you have not created and you can't use inheritance. For example I wanted to use a Mogre Camera and build some WPF animation with it and I couldn't because : WPF animation needed a DependencyProperty to manipulate, I couldn't derive the Mogre.Camera class and add it the correct things because I got the camera from a factory object (the sceneManager). Then I couldn't use the WPF animation to move my camera... next is how I solve it. read more...

add a comment |category: |Views: 33

tags: another

Do you know how can you obtain access to nested types through XAML?(rredcat.blogspot.com)

submitted by RredCatRredCat(299) 3 years, 1 month ago

XAML is a declarative XML-based language created by Microsoft which is used to initialize structured values and objects. I have already written how we can obtain access to properties of instance that located in other properties here (I have described binding's potential). But what can we do if we need to access to nested type? read more...

add a comment |category: |Views: 15

tags: another

Bind to many method simultaneously. Binding in WPF part 2.(rredcat.blogspot.com)

submitted by RredCatRredCat(299) 3 years, 4 months ago

Target: We have some views that have as source one shared collection. They are located in any ItemsControls (ListBoxs in my case). Those views pass form different parametrized methods (we use the ObjectDataProvider and bind to a method possibility for this purposes). How can we implement one control element's property for affect on those views? We have restricts - it is needed to make in XAML code. Problem: How can we pass a value of control element as parameter in bind to a methods? Solution: read more...

add a comment |category: |Views: 38

tags: another

Using the ASP.NET MVC ModelBinder attribute(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years, 8 months ago

ASP.NET MVC action methods can be developed using regular method parameters. In earlier versions of the ASP.NET MVC framework, these parameters were all simple types like integers, strings, booleans, … When required, a method parameter can be a complex type like a Contact with Name, Email and Message properties. This blog post shows you how to use the ModelBinder attribute which allows ASP.NET MVC action methods to accept complex types. read more...

add a comment |category: |Views: 645

tags: another

Inherit properties(rredcat.blogspot.com)

submitted by RredCatRredCat(299) 3 years, 9 months ago

When I investigated WPF feature, I was interesting how use inherit property (If consider that Binding is low performance feature). I used these properties as RegisterAttached only. I have write some test samples but these didn’t work to my of the confuse. Little search in MSDN founded the root of problem. It locate in end of inherit property document, after eulogy powerful this feature. read more...

add a comment |category: |Views: 24

tags: another

wwDataBinder with dictionaries and lists(aspnetfix.blogspot.com)

submitted by allianz77allianz77(80) 4 years, 1 month ago

This a a small article for those who used wwdatabinder and want to use automatic binding with dictionaries or lists. You can download code. read more...

add a comment |category: |Views: 111

tags: another

Using Bind with nested properties(mikeoff.blogspot.com)

submitted by mikeonmikeon(5200) 5 years, 10 months ago

Description of method that allows two way databinding to a nested property. read more...

add a comment |category: |Views: 114

tags: another