Click here to Skip to main content
15,885,757 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: My Thoughts On My WPF App Design Pin
Mycroft Holmes14-Jul-13 14:11
professionalMycroft Holmes14-Jul-13 14:11 
GeneralRe: My Thoughts On My WPF App Design Pin
Kevin Marois15-Jul-13 5:11
professionalKevin Marois15-Jul-13 5:11 
GeneralRe: My Thoughts On My WPF App Design Pin
Mycroft Holmes16-Jul-14 21:46
professionalMycroft Holmes16-Jul-14 21:46 
GeneralRe: My Thoughts On My WPF App Design Pin
Kevin Marois17-Jul-14 6:49
professionalKevin Marois17-Jul-14 6:49 
GeneralRe: My Thoughts On My WPF App Design Pin
Mycroft Holmes17-Jul-14 12:43
professionalMycroft Holmes17-Jul-14 12:43 
GeneralRe: My Thoughts On My WPF App Design Pin
Kevin Marois17-Jul-14 12:59
professionalKevin Marois17-Jul-14 12:59 
GeneralRe: My Thoughts On My WPF App Design Pin
Mycroft Holmes17-Jul-14 14:09
professionalMycroft Holmes17-Jul-14 14:09 
QuestionWPF ComboBox Problem Pin
Kevin Marois10-Jul-13 19:13
professionalKevin Marois10-Jul-13 19:13 
Ok, what am I doing wrong here???

I have a Client Entity:

public class ClientEntity : _EntityBase
{
    private string _ClientName = string.Empty;
    public string ClientName 
    {
        get { return _ClientName; }
        set
        {
            if (_ClientName != value)
            {
                _ClientName = value;
                RaisePropertyChanged("ClientName");
                IsDirty = true;
            }
        }
    }

    private PayTypeEntity _PayType;
    public PayTypeEntity PayType
    {
        get { return _PayType; }
        set
        {
            if (_PayType != value)
            {
                _PayType = value;
                RaisePropertyChanged("PayType");
                IsDirty = true;
            }
        }
    }
}


In my XAML, I am binding the PayTypes combo like this:

<ComboBox Grid.Row="1"
            Grid.Column="3"
            ItemsSource="{Binding PayTypes}"
            SelectedValue="{Binding Client.PayType.Id, Mode=TwoWay}"
            SelectedValuePath="Id"
            DisplayMemberPath="Caption"/>


When I select a PayType it does not get set on the ClientEntity.
If it's not broken, fix it until it is

AnswerRe: WPF ComboBox Problem Pin
Richard Deeming11-Jul-13 1:58
mveRichard Deeming11-Jul-13 1:58 
GeneralRe: WPF ComboBox Problem Pin
Kevin Marois11-Jul-13 17:48
professionalKevin Marois11-Jul-13 17:48 
GeneralRe: WPF ComboBox Problem Pin
Kevin Marois19-Jul-13 16:27
professionalKevin Marois19-Jul-13 16:27 
Questionhow to make an navigation title dropdownlist Pin
neodeaths10-Jul-13 9:45
neodeaths10-Jul-13 9:45 
AnswerRe: how to make an navigation title dropdownlist Pin
Mycroft Holmes10-Jul-13 12:44
professionalMycroft Holmes10-Jul-13 12:44 
QuestionAny Idea CFL in Silverlight? Pin
Tanmoy Mahish9-Jul-13 19:57
Tanmoy Mahish9-Jul-13 19:57 
AnswerRe: Any Idea CFL in Silverlight? Pin
Mycroft Holmes9-Jul-13 21:10
professionalMycroft Holmes9-Jul-13 21:10 
GeneralRe: Any Idea CFL in Silverlight? Pin
Tanmoy Mahish9-Jul-13 21:38
Tanmoy Mahish9-Jul-13 21:38 
GeneralRe: Any Idea CFL in Silverlight? Pin
Mycroft Holmes9-Jul-13 22:45
professionalMycroft Holmes9-Jul-13 22:45 
GeneralRe: Any Idea CFL in Silverlight? Pin
Tanmoy Mahish9-Jul-13 23:56
Tanmoy Mahish9-Jul-13 23:56 
GeneralRe: Any Idea CFL in Silverlight? Pin
Mycroft Holmes10-Jul-13 1:06
professionalMycroft Holmes10-Jul-13 1:06 
AnswerRe: Any Idea CFL in Silverlight? Pin
Richard MacCutchan10-Jul-13 1:40
mveRichard MacCutchan10-Jul-13 1:40 
Questionhow to use equalizer using naudio wpf Pin
thecco7-Jul-13 17:50
thecco7-Jul-13 17:50 
Question[SOLVED] WPF Printing in milimeters Pin
Saksida Bojan5-Jul-13 22:16
Saksida Bojan5-Jul-13 22:16 
SuggestionRe: WPF Printing in milimeters Pin
AlphaDeltaTheta7-Jul-13 21:18
AlphaDeltaTheta7-Jul-13 21:18 
GeneralRe: WPF Printing in milimeters Pin
Saksida Bojan7-Jul-13 23:59
Saksida Bojan7-Jul-13 23:59 
QuestionWhat is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Mohammed Hameed3-Jul-13 20:24
professionalMohammed Hameed3-Jul-13 20:24 

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.