Click here to Skip to main content
15,913,941 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 5:43
arkiboys3-Dec-10 5:43 
GeneralRe: checking processes Pin
Pete O'Hanlon3-Dec-10 7:19
mvePete O'Hanlon3-Dec-10 7:19 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 11:00
arkiboys3-Dec-10 11:00 
GeneralRe: checking processes Pin
Pete O'Hanlon3-Dec-10 11:01
mvePete O'Hanlon3-Dec-10 11:01 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 11:02
arkiboys3-Dec-10 11:02 
AnswerRe: checking processes Pin
Abhinav S3-Dec-10 23:22
Abhinav S3-Dec-10 23:22 
QuestionStandard Button Layout Pin
PaulPrice3-Dec-10 0:20
PaulPrice3-Dec-10 0:20 
AnswerRe: Standard Button Layout Pin
Abhinav S3-Dec-10 1:07
Abhinav S3-Dec-10 1:07 
GeneralRe: Standard Button Layout Pin
PaulPrice3-Dec-10 2:04
PaulPrice3-Dec-10 2:04 
AnswerRe: Standard Button Layout Pin
Pete O'Hanlon3-Dec-10 1:16
mvePete O'Hanlon3-Dec-10 1:16 
JokeRe: Standard Button Layout Pin
PaulPrice3-Dec-10 2:02
PaulPrice3-Dec-10 2:02 
GeneralRe: Standard Button Layout Pin
Pete O'Hanlon3-Dec-10 4:35
mvePete O'Hanlon3-Dec-10 4:35 
QuestionDependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 3:13
PaulPrice2-Dec-10 3:13 
AnswerRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 3:55
Ian Shlasko2-Dec-10 3:55 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 4:36
PaulPrice2-Dec-10 4:36 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 6:18
Ian Shlasko2-Dec-10 6:18 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 6:34
PaulPrice2-Dec-10 6:34 
Unfortunatly this is already done.

I have double checked and I can see while debugging that both the MainAppView and the DualListControl instance have the DataContext set to the same instance of the MainAppViewModel class.

The Content of the main window is set as follows

public MainWindow()
{
    InitializeComponent();
    Content = new MainAppViewModel();
}


And in the App.xaml i have a DataTemplate telling WPF how to render the object as follows

<Application x:Class="TestApplication.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:ViewModels="clr-namespace:TestApplication.ViewModels"
             xmlns:Views="clr-namespace:TestApplication.Views"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <DataTemplate DataType="{x:Type ViewModels:MainAppViewModel}">
            <Views:MainAppView/>
        </DataTemplate>
    </Application.Resources>
</Application>


If you see what I mean

So the part that is missing is the actual binding of the DualListControls dependancy properties being bound to the MainAppViewModels SelectedListA and DeSelectedListA properties.

Any ideas as to what I have missed?
Just racking up the postings

GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 9:56
Ian Shlasko2-Dec-10 9:56 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer012-Dec-10 10:05
SledgeHammer012-Dec-10 10:05 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 10:59
Ian Shlasko2-Dec-10 10:59 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer012-Dec-10 11:58
SledgeHammer012-Dec-10 11:58 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice3-Dec-10 0:11
PaulPrice3-Dec-10 0:11 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice3-Dec-10 0:05
PaulPrice3-Dec-10 0:05 
AnswerRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer012-Dec-10 6:35
SledgeHammer012-Dec-10 6:35 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 7:05
PaulPrice2-Dec-10 7:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.