<UserControl x:Class="LookupTermWizard.View.Properties" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:b="clr-namespace:LookupTermWizard.Behavior" xmlns:vm="clr-namespace:LookupTermWizard.ViewModel" Height="300" Width="500" removed="LightGray" DataContext="{Binding}" >
<Window x:Class="LookupTermWizard.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:vm="clr-namespace:LookupTermWizard.ViewModel" xmlns:v="clr-namespace:LookupTermWizard.View" xmlns:b="clr-namespace:LookupTermWizard.Behavior" Title="Lookup Term Wizard" Height="900" Width="1300"> <Window.DataContext> <vm:MainWindowViewModel /> </Window.DataContext> <StackPanel DockPanel.Dock="Left" VerticalAlignment="Top" Height="775" > <ContentControl> <v:Properties DataContext="{Binding PropertiesVM}" /> </ContentControl>
PropertiesViewModel propertiesVM; PropertiesViewModel PropertiesVM { get { return propertiesVM; } set { propertiesVM = value; OnPropertyChanged("PropertiesVM"); } } public MainWindowViewModel() { PropertiesVM = new PropertiesViewModel(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)