Click here to Skip to main content
       

Silverlight / WPF

 
GeneralRe: My Thoughts On My WPF App Design PinprofessionalMycroft Holmes14-Jul-13 15:11 
GeneralRe: My Thoughts On My WPF App Design PinmemberKevin Marois15-Jul-13 6:11 
GeneralRe: My Thoughts On My WPF App Design PinprofessionalMycroft Holmes16-Jul-14 22:46 
GeneralRe: My Thoughts On My WPF App Design PinmemberKevin Marois17-Jul-14 7:49 
GeneralRe: My Thoughts On My WPF App Design PinprofessionalMycroft Holmes17-Jul-14 13:43 
GeneralRe: My Thoughts On My WPF App Design PinmemberKevin Marois17-Jul-14 13:59 
GeneralRe: My Thoughts On My WPF App Design PinprofessionalMycroft Holmes17-Jul-14 15:09 
QuestionWPF ComboBox Problem PinmemberKevin Marois10-Jul-13 20: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 PinprofessionalRichard Deeming11-Jul-13 2:58 
GeneralRe: WPF ComboBox Problem PinmemberKevin Marois11-Jul-13 18:48 
GeneralRe: WPF ComboBox Problem PinmemberKevin Marois19-Jul-13 17:27 
Questionhow to make an navigation title dropdownlist Pinmemberneodeaths10-Jul-13 10:45 
AnswerRe: how to make an navigation title dropdownlist PinprofessionalMycroft Holmes10-Jul-13 13:44 
QuestionAny Idea CFL in Silverlight? PinmemberTanmoy Mohish9-Jul-13 20:57 
AnswerRe: Any Idea CFL in Silverlight? PinprofessionalMycroft Holmes9-Jul-13 22:10 
GeneralRe: Any Idea CFL in Silverlight? PinmemberTanmoy Mohish9-Jul-13 22:38 
GeneralRe: Any Idea CFL in Silverlight? PinprofessionalMycroft Holmes9-Jul-13 23:45 
GeneralRe: Any Idea CFL in Silverlight? PinmemberTanmoy Mohish10-Jul-13 0:56 
GeneralRe: Any Idea CFL in Silverlight? PinprofessionalMycroft Holmes10-Jul-13 2:06 
AnswerRe: Any Idea CFL in Silverlight? PinmvpRichard MacCutchan10-Jul-13 2:40 
Questionhow to use equalizer using naudio wpf PinprofessionalMember 101119067-Jul-13 18:50 
Question[SOLVED] WPF Printing in milimeters [modified] PinmemberSaksida Bojan5-Jul-13 23:16 
SuggestionRe: WPF Printing in milimeters PinmemberAmitosh S.M.7-Jul-13 22:18 
GeneralRe: WPF Printing in milimeters PinmemberSaksida Bojan8-Jul-13 0:59 
QuestionWhat is the use of somefile.g.i.cs auto-generated file in Wpf? PinprofessionalMohammed Hameed3-Jul-13 21:24 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 17 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid