A DataContext is used in WPF, Silverlight and various other .NET technologies.
I have a basic UserControl that sets its DataContext to itself for ease of binding: <UserControl x:Class="MyControlLib.…
wpf xaml data-binding user-controls datacontextShort explanation of need: I need to fire the command of a button inside a DataTemplate, using a method from …
c# xaml data-binding uwp datacontextConsider this typical disconnected scenario: load a Customer object from SQL Server using LINQ To SQL user edits the entity, …
c# linq-to-sql concurrency datacontextI'm having issues with a converter i'm using to convert between a string and our timeformat. The converter itself works …
wpf data-binding datacontext converter ivalueconverterI'm trying to bind MenuItem's Command to command contained in UserControl.DataContext. I've found couple of similar question, but solution …
.net wpf data-binding datacontextI'm trying to figure the best strategy about how to organize DataContexts. The typical DB we work has between 50 and 100 …
sql linq linq-to-sql datacontextOriginally my .xaml form used the following line to set the Designer's DataContext where the view model was a non-generic …
wpf xaml datacontextI am trying to display a tooltip for an item generated by an ItemsControl that needs to pull data from …
wpf data-binding tooltip datacontext itemscontrol