Click here to Skip to main content
11,481,404 members (63,742 online)

Silverlight / WPF

 
AnswerRe: Can anyone suggest any good books or tutorials on WPF-MVVM please? Pin
Abhinav S13-Nov-12 22:19
mvpAbhinav S13-Nov-12 22:19 
GeneralRe: Can anyone suggest any good books or tutorials on WPF-MVVM please? Pin
Vijay Kanda13-Nov-12 22:59
memberVijay Kanda13-Nov-12 22:59 
GeneralRe: Can anyone suggest any good books or tutorials on WPF-MVVM please? Pin
Abhinav S14-Nov-12 0:09
mvpAbhinav S14-Nov-12 0:09 
QuestionDatabinding ICollectionView to DataGrid WPF C# [modified] Pin
maycockt8-Nov-12 6:57
membermaycockt8-Nov-12 6:57 
AnswerRe: Databinding ICollectionView to DataGrid WPF C# Pin
maycockt8-Nov-12 23:42
membermaycockt8-Nov-12 23:42 
QuestionPrinting with more than 96 dpi in WPF [modified] Pin
Member 45210688-Nov-12 3:22
memberMember 45210688-Nov-12 3:22 
AnswerRe: Printing with more than 96 dpi in WPF Pin
Super Lloyd14-Nov-12 17:16
memberSuper Lloyd14-Nov-12 17:16 
GeneralRe: Printing with more than 96 dpi in WPF [modified] Pin
Member 452106819-Nov-12 23:26
memberMember 452106819-Nov-12 23:26 
QuestionI have issues with the C# WPF WebBrowser class Pin
Xarzu6-Nov-12 21:14
memberXarzu6-Nov-12 21:14 
AnswerRe: I have issues with the C# WPF WebBrowser class Pin
Gerry Schmitz7-Nov-12 12:04
memberGerry Schmitz7-Nov-12 12:04 
QuestionBlurry Borderline In FlowDocument Pin
FocusedWolf6-Nov-12 11:46
memberFocusedWolf6-Nov-12 11:46 
AnswerRe: Blurry Borderline In FlowDocument Pin
Gerry Schmitz7-Nov-12 14:13
memberGerry Schmitz7-Nov-12 14:13 
AnswerRe: Blurry Borderline In FlowDocument [modified] Pin
FocusedWolf7-Nov-12 17:00
memberFocusedWolf7-Nov-12 17:00 
QuestionBinding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer6-Nov-12 9:16
mvpJohn Simmons / outlaw programmer6-Nov-12 9:16 
I want my treeview items to change their appearance based on other properties within the object being represented by the treeview item. I've done the following within the treeview zaml:

<TreeView.Resources>
    <Style TargetType="{x:Type TreeViewItem}">
        <Setter Property="Foreground" Value="{Binding Path=IsValid, Converter={StaticResource StatusInvalidConverter}}" />
        <Setter Property="HeaderTemplate">
            <Setter.Value>
                <DataTemplate>
                    <Grid>
                        <Border Grid.Column="0" x:Name="PART_ItemBorder" ... >
                            <StackPanel Orientation="Horizontal">
                                <Label Content="{Binding}"  />
 
                                /// my custom stuff is here
                                <Label Content="(NOT USED)" 
                                       Visibility="{Binding Path=IsReferenced, Converter={StaticResource MyConverter}}" 
                                       Foreground="Red" />
                        
                            </StackPanel>
                        </Border>
                    </Grid>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</TreeView.Resources>

I'm getting the following notification in the output window when I run the app in debug mode:

System.Windows.Data Error: 40 : BindingExpression path error: 'IsReferenced' property not found on 'object' ''String' (HashCode=1540110492)'. BindingExpression:Path=IsReferenced; DataItem='String' (HashCode=1540110492); target element is 'Label' (Name=''); target property is 'Visibility' (type 'Visibility')

".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

AnswerRe: Binding in a WPF TreeViewItem Pin
Pete O'Hanlon6-Nov-12 9:29
protectorPete O'Hanlon6-Nov-12 9:29 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer6-Nov-12 9:54
mvpJohn Simmons / outlaw programmer6-Nov-12 9:54 
GeneralRe: Binding in a WPF TreeViewItem Pin
Pete O'Hanlon6-Nov-12 10:00
protectorPete O'Hanlon6-Nov-12 10:00 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer6-Nov-12 10:22
mvpJohn Simmons / outlaw programmer6-Nov-12 10:22 
GeneralRe: Binding in a WPF TreeViewItem Pin
Pete O'Hanlon6-Nov-12 10:29
protectorPete O'Hanlon6-Nov-12 10:29 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer6-Nov-12 10:37
mvpJohn Simmons / outlaw programmer6-Nov-12 10:37 
GeneralRe: Binding in a WPF TreeViewItem Pin
Pete O'Hanlon6-Nov-12 10:44
protectorPete O'Hanlon6-Nov-12 10:44 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer6-Nov-12 11:02
mvpJohn Simmons / outlaw programmer6-Nov-12 11:02 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer6-Nov-12 11:13
mvpJohn Simmons / outlaw programmer6-Nov-12 11:13 
GeneralRe: Binding in a WPF TreeViewItem Pin
Pete O'Hanlon6-Nov-12 11:22
protectorPete O'Hanlon6-Nov-12 11:22 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer6-Nov-12 11:27
mvpJohn Simmons / outlaw programmer6-Nov-12 11:27 
GeneralRe: Binding in a WPF TreeViewItem Pin
Pete O'Hanlon6-Nov-12 11:28
protectorPete O'Hanlon6-Nov-12 11:28 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer7-Nov-12 4:53
mvpJohn Simmons / outlaw programmer7-Nov-12 4:53 
GeneralRe: Binding in a WPF TreeViewItem Pin
Pete O'Hanlon7-Nov-12 5:01
protectorPete O'Hanlon7-Nov-12 5:01 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer7-Nov-12 6:24
mvpJohn Simmons / outlaw programmer7-Nov-12 6:24 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer8-Nov-12 5:30
mvpJohn Simmons / outlaw programmer8-Nov-12 5:30 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer8-Nov-12 6:53
mvpJohn Simmons / outlaw programmer8-Nov-12 6:53 
GeneralRe: Binding in a WPF TreeViewItem Pin
John Simmons / outlaw programmer8-Nov-12 11:13
mvpJohn Simmons / outlaw programmer8-Nov-12 11:13 
Questionslide menu Pin
HimmelDeveloper2-Nov-12 7:51
memberHimmelDeveloper2-Nov-12 7:51 
AnswerRe: slide menu Pin
Richard MacCutchan2-Nov-12 11:27
mvpRichard MacCutchan2-Nov-12 11:27 
QuestionCustomized Scrollbar not working properly Pin
Anil_S.Kamble2-Nov-12 6:11
memberAnil_S.Kamble2-Nov-12 6:11 
QuestionCustom TreeViewItems Pin
John Simmons / outlaw programmer2-Nov-12 5:06
mvpJohn Simmons / outlaw programmer2-Nov-12 5:06 
AnswerRe: Custom TreeViewItems Pin
SledgeHammer012-Nov-12 7:47
memberSledgeHammer012-Nov-12 7:47 
QuestionHow to detect if the users pressed Ctrl and V at the same time? Pin
gmf1-Nov-12 12:26
membergmf1-Nov-12 12:26 
AnswerRe: How to detect if the users pressed Ctrl and V at the same time? Pin
Pete O'Hanlon1-Nov-12 12:49
protectorPete O'Hanlon1-Nov-12 12:49 
GeneralRe: How to detect if the users pressed Ctrl and V at the same time? Pin
gmf1-Nov-12 14:28
membergmf1-Nov-12 14:28 
GeneralRe: How to detect if the users pressed Ctrl and V at the same time? Pin
Pete O'Hanlon1-Nov-12 14:34
protectorPete O'Hanlon1-Nov-12 14:34 
QuestionXAML Diff Source Compare Pin
_Maxxx_30-Oct-12 16:04
member_Maxxx_30-Oct-12 16:04 
AnswerRe: XAML Diff Source Compare Pin
Mycroft Holmes30-Oct-12 18:42
memberMycroft Holmes30-Oct-12 18:42 
GeneralRe: XAML Diff Source Compare Pin
_Maxxx_31-Oct-12 0:19
member_Maxxx_31-Oct-12 0:19 
AnswerRe: XAML Diff Source Compare Pin
Abhinav S30-Oct-12 22:22
mvpAbhinav S30-Oct-12 22:22 
GeneralRe: XAML Diff Source Compare Pin
_Maxxx_31-Oct-12 0:20
member_Maxxx_31-Oct-12 0:20 
AnswerRe: XAML Diff Source Compare Pin
Pete O'Hanlon30-Oct-12 23:32
protectorPete O'Hanlon30-Oct-12 23:32 
GeneralRe: XAML Diff Source Compare Pin
_Maxxx_31-Oct-12 0:24
member_Maxxx_31-Oct-12 0:24 
QuestionHow to set the wcf ria service time out. Pin
Saurabh_0829-Oct-12 12:32
memberSaurabh_0829-Oct-12 12:32 
AnswerRe: How to set the wcf ria service time out. Pin
Keith Barrow30-Oct-12 0:18
mentorKeith Barrow30-Oct-12 0:18 

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
Web03 | 2.8.150520.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid