Silverlight / WPF - Biding in wpf with mvvm - Asked By dipak sinha on 25-Oct-11 02:02 AM

Hi all

 I m new in wpf, and i got problem to binding class in xaml. I wanted print one msg"hello" in button click.  This is my code....Thanks!!!

<UserControl x:Class="TwoNumberCalculate.CalculatorViewModel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:vm="TwoNumberCalculate:CalculatorViewModel">




    <UserControl.DataContext>
        <vm:>----------------------------------------->* Its not showing my methods here..
       
    </UserControl.DataContext>
    

Jitendra Faye replied to dipak sinha on 25-Oct-11 02:10 AM
Jitendra Faye replied to dipak sinha on 25-Oct-11 02:13 AM
Follow this link also, here also you will get example-

http://msdn.microsoft.com/en-us/library/system.windows.data.binding.aspx

Hope this will help you.