Click here to Skip to main content
15,917,176 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Win7:WPF has a bug when set a button visible during system suspending or resuming. (Online Waiting) Pin
Daniel Grunwald15-Jan-10 4:37
Daniel Grunwald15-Jan-10 4:37 
QuestionEquivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Mohammad Dayyan12-Jan-10 8:27
Mohammad Dayyan12-Jan-10 8:27 
AnswerRe: Equivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Pete O'Hanlon13-Jan-10 3:30
mvePete O'Hanlon13-Jan-10 3:30 
GeneralRe: Equivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Mohammad Dayyan13-Jan-10 8:33
Mohammad Dayyan13-Jan-10 8:33 
GeneralRe: Equivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Pete O'Hanlon13-Jan-10 8:46
mvePete O'Hanlon13-Jan-10 8:46 
GeneralRe: Equivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Mohammad Dayyan14-Jan-10 2:53
Mohammad Dayyan14-Jan-10 2:53 
GeneralRe: Equivalent of treeView1.Nodes.Find in WPF TreeView ? Pin
Pete O'Hanlon14-Jan-10 10:47
mvePete O'Hanlon14-Jan-10 10:47 
QuestionHow can I bind data from one combo box to another ? Pin
gil eichenbaum12-Jan-10 2:47
gil eichenbaum12-Jan-10 2:47 
AnswerRe: How can I bind data from one combo box to another ? Pin
Pete O'Hanlon12-Jan-10 3:42
mvePete O'Hanlon12-Jan-10 3:42 
GeneralRe: How can I bind data from one combo box to another ? Pin
gil eichenbaum12-Jan-10 5:34
gil eichenbaum12-Jan-10 5:34 
Questionbinding Path Fill to Hashtable item property Pin
DTh197810-Jan-10 11:21
DTh197810-Jan-10 11:21 
AnswerRe: binding Path Fill to Hashtable item property Pin
AspDotNetDev11-Jan-10 15:55
protectorAspDotNetDev11-Jan-10 15:55 
GeneralRe: binding Path Fill to Hashtable item property Pin
DTh197811-Jan-10 19:27
DTh197811-Jan-10 19:27 
QuestionData Binding Pin
#realJSOP9-Jan-10 2:59
professional#realJSOP9-Jan-10 2:59 
AnswerRe: Data Binding Pin
Daniel Vaughan9-Jan-10 5:45
Daniel Vaughan9-Jan-10 5:45 
GeneralRe: Data Binding Pin
Lutosław12-Jan-10 4:05
Lutosław12-Jan-10 4:05 
GeneralRe: Data Binding Pin
Daniel Vaughan12-Jan-10 5:47
Daniel Vaughan12-Jan-10 5:47 
GeneralRe: Data Binding Pin
Abhinav S12-Jan-10 16:26
Abhinav S12-Jan-10 16:26 
GeneralRe: Data Binding Pin
Daniel Vaughan13-Jan-10 22:25
Daniel Vaughan13-Jan-10 22:25 
AnswerRe: Data Binding Pin
Kubajzz9-Jan-10 5:55
Kubajzz9-Jan-10 5:55 
QuestionThe name 'ImageListViewItem' does not exist in the current context ? Pin
Mohammad Dayyan8-Jan-10 17:56
Mohammad Dayyan8-Jan-10 17:56 
Hi.
I have written below XAML code :

<ScrollViewer Grid.Row="0" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
    <ListView x:Name="ListView1" Background="#FFEEF3FA" GridViewColumnHeader.Click="ListViewSort_Click" ItemsSource="{Binding ListViewItemsCollections}" SelectionChanged="ListView1_SelectionChanged">
        <ListView.View>
            <GridView>
                <GridViewColumn x:Name="GridViewColumnName" Header="Name"  Width="200">
                    <GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <Image x:Name="ImageListViewItem" Width="16" Height="16" Source="{Binding GridViewColumnName_ImageSource}" />
                                <Label Content="{Binding GridViewColumnName_LabelContent}" />
                            </StackPanel>
                        </DataTemplate>
                    </GridViewColumn.CellTemplate>
                </GridViewColumn>
                <GridViewColumn x:Name="GridViewColumnTags" Header="Tags" Width="100" DisplayMemberBinding="{Binding GridViewColumnTags}" />
                <GridViewColumn x:Name="GridViewColumnLocation" Header="Location" Width="238" DisplayMemberBinding="{Binding GridViewColumnLocation}" />
                <GridViewColumn x:Name="GridViewColumnVisitCount" Header="Visit Count" Width="0" DisplayMemberBinding="{Binding GridViewColumnVisitCount}" />
                <GridViewColumn x:Name="GridViewColumnVisitDate" Header="Visit Date" Width="0" DisplayMemberBinding="{Binding GridViewColumnVisitDate}" />
                <GridViewColumn x:Name="GridViewColumnAdded" Header="Added" Width="0" DisplayMemberBinding="{Binding GridViewColumnAdded}" />
                <GridViewColumn x:Name="GridViewColumnLastModified" Header="Last Modified" Width="0" DisplayMemberBinding="{Binding GridViewColumnLastModified}" />
            </GridView>
        </ListView.View>
    </ListView>
</ScrollViewer>


As you can see the name ImageListViewItem exists in the code , but whenever I'm gonna compile the project I receive this error :
Error	1	The name 'ImageListViewItem' does not exist in the current context	D:\My Works\C#\WPF\MainWindow.xaml.cs	704	29	passwordManager


What's wrong with it ?
Could you please guide me ?
Thanks.
AnswerRe: The name 'ImageListViewItem' does not exist in the current context ? Pin
Abhinav S8-Jan-10 18:28
Abhinav S8-Jan-10 18:28 
GeneralRe: The name 'ImageListViewItem' does not exist in the current context ? Pin
Mohammad Dayyan8-Jan-10 22:46
Mohammad Dayyan8-Jan-10 22:46 
AnswerRe: The name 'ImageListViewItem' does not exist in the current context ? Pin
Abhinav S8-Jan-10 23:11
Abhinav S8-Jan-10 23:11 
GeneralRe: The name 'ImageListViewItem' does not exist in the current context ? Pin
Mohammad Dayyan8-Jan-10 23:13
Mohammad Dayyan8-Jan-10 23:13 

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.