Click here to Skip to main content
15,911,035 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: TreeView Data Template & Binding Question Pin
SledgeHammer016-Dec-11 13:53
SledgeHammer016-Dec-11 13:53 
GeneralRe: TreeView Data Template & Binding Question Pin
Kevin Marois8-Dec-11 7:12
professionalKevin Marois8-Dec-11 7:12 
AnswerRe: Popup vs Tooltip Pin
Pete O'Hanlon6-Dec-11 4:48
mvePete O'Hanlon6-Dec-11 4:48 
GeneralRe: Popup vs Tooltip Pin
SledgeHammer016-Dec-11 10:42
SledgeHammer016-Dec-11 10:42 
GeneralRe: Popup vs Tooltip Pin
SledgeHammer016-Dec-11 11:35
SledgeHammer016-Dec-11 11:35 
QuestionBest way to save/load data locally. WPF Pin
Paul Harsent5-Dec-11 3:51
Paul Harsent5-Dec-11 3:51 
AnswerRe: Best way to save/load data locally. WPF Pin
Pete O'Hanlon5-Dec-11 4:40
mvePete O'Hanlon5-Dec-11 4:40 
AnswerRe: Best way to save/load data locally. WPF Pin
SledgeHammer015-Dec-11 5:04
SledgeHammer015-Dec-11 5:04 
AnswerRe: Best way to save/load data locally. WPF Pin
John-ph6-Dec-11 0:29
John-ph6-Dec-11 0:29 
Questionwpf grid Pin
akstemptation4-Dec-11 23:32
akstemptation4-Dec-11 23:32 
AnswerRe: wpf grid Pin
Abhinav S5-Dec-11 18:21
Abhinav S5-Dec-11 18:21 
QuestionWeb service reference in app.config file issue Pin
That's Aragon4-Dec-11 19:43
That's Aragon4-Dec-11 19:43 
AnswerRe: Web service reference in app.config file issue Pin
Mycroft Holmes4-Dec-11 20:25
professionalMycroft Holmes4-Dec-11 20:25 
GeneralRe: Web service reference in app.config file issue Pin
That's Aragon4-Dec-11 20:46
That's Aragon4-Dec-11 20:46 
GeneralRe: Web service reference in app.config file issue Pin
Mycroft Holmes4-Dec-11 21:17
professionalMycroft Holmes4-Dec-11 21:17 
GeneralRe: Web service reference in app.config file issue Pin
That's Aragon4-Dec-11 23:32
That's Aragon4-Dec-11 23:32 
GeneralRe: Web service reference in app.config file issue Pin
Pete O'Hanlon5-Dec-11 0:49
mvePete O'Hanlon5-Dec-11 0:49 
QuestionBinding Question Pin
Kevin Marois3-Dec-11 7:58
professionalKevin Marois3-Dec-11 7:58 
I have this data template:

<DataTemplate DataType="{x:Type models:PartModel}">
    <StackPanel Orientation="Horizontal">
        <Image Source="/Abtech.Spares.UI;component/Media/Graphics/motherboard_enabled_96x96.png"
					Height="16"
					Width="16"
                    Margin="0,0,3,0"/>
        <Button x:Name="cmdTribal"
                    Margin="2,0,2,0"
                    Command="{Binding ElementName=ThisView, Path=DataContext.SelectTribalCommand}">
            <Image Source="/Abtech.Spares.UI;component/Media/Graphics/abtech_triangle_blue_small.png"/>
        </Button>
        <TextBlock Text="{Binding PartNumber}"></TextBlock>
        <TextBlock Text="{Binding Tribal.TribalNumber}" 
                    Margin="3,0,0,3"
                    Foreground="Blue"/>
        <TextBlock Text="-"
                    Margin="3,0,3,0"/>
        <TextBlock Text="{Binding PartDescription}"></TextBlock>
    </StackPanel>
</DataTemplate>


The PartModel has a property called Tribal, which is an instance of another model called TribalMode. On the TribalModel class is a property called TribalNumber. I can see the Tribal number displayed just fine when the data is loaded.

In the code behind after the data is loaded, I'm updating the tribal numbers, but the change doesn't show in the UI.

What's wrong here?
Everything makes sense in someone's mind

AnswerRe: Binding Question Pin
Kevin Marois3-Dec-11 8:03
professionalKevin Marois3-Dec-11 8:03 
QuestionMenu Item Deisgn Pin
Hema Bairavan1-Dec-11 0:16
Hema Bairavan1-Dec-11 0:16 
AnswerRe: Menu Item Deisgn Pin
Varsha Ramnani4-Dec-11 19:51
professionalVarsha Ramnani4-Dec-11 19:51 
GeneralRe: Menu Item Deisgn Pin
Hema Bairavan5-Dec-11 19:20
Hema Bairavan5-Dec-11 19:20 
GeneralRe: Menu Item Deisgn Pin
Varsha Ramnani5-Dec-11 19:26
professionalVarsha Ramnani5-Dec-11 19:26 
GeneralRe: Menu Item Deisgn Pin
Hema Bairavan5-Dec-11 20:26
Hema Bairavan5-Dec-11 20:26 
GeneralRe: Menu Item Deisgn Pin
Varsha Ramnani5-Dec-11 20:44
professionalVarsha Ramnani5-Dec-11 20:44 

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.