A DataContext is used in WPF, Silverlight and various other .NET technologies.
I have a list (see below) contained in a window. The window's DataContext has two properties, Items and AllowItemCommand. How …
wpf data-binding datacontextI'm creating a UserControl I want to use something like this: <controls:ColorWithText Color="Red" Text="Red color" /> …
wpf xaml datacontextI am integrating SqlCacheDependency to use in my LinqToSQL datacontext. I am using an extension class for Linq querys found …
asp.net linq caching datacontext sqlcachedependencyHow can I set the DataContext on my Grid in XAML, instead of in the constructor? Here is how I …
silverlight datacontextI need to expose an Entity Framework Data Context to 3rd party plugins. The purpose is to allow these plugins …
.net entity-framework entity-framework-4 datacontext readonlyI want to be able to create an instance of the DataContext object for my WPF StartupUri window in XAML, …
c# wpf xaml datacontextCan I use transactions with a datacontext, so that I can rollback the state of the context after an error? …
c# linq linq-to-sql transactions datacontextHere's the issue: I have 2 data contexts that I would like to do a join on. Now I know that …
c# entity-framework linq datacontextI am having some trouble figuring out how to set the correct DataContext on a ContextMenu. I have a collection …
wpf contextmenu datacontextI followed a very simple MVVM example as a basis for my program. The author had one code behind instruction …
c# wpf xaml mvvm datacontext