Click here to Skip to main content
15,902,445 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: The name 'ImageListViewItem' does not exist in the current context ? Pin
Mohammad Dayyan8-Jan-10 23:24
Mohammad Dayyan8-Jan-10 23:24 
AnswerRe: The name 'ImageListViewItem' does not exist in the current context ? Pin
AspDotNetDev8-Jan-10 21:23
protectorAspDotNetDev8-Jan-10 21:23 
AnswerRe: The name 'ImageListViewItem' does not exist in the current context ? Pin
Pete O'Hanlon9-Jan-10 2:13
mvePete O'Hanlon9-Jan-10 2:13 
Questiongeneral help Pin
hotthoughtguy8-Jan-10 8:20
hotthoughtguy8-Jan-10 8:20 
AnswerRe: general help Pin
Pete O'Hanlon8-Jan-10 9:35
mvePete O'Hanlon8-Jan-10 9:35 
AnswerRe: general help Pin
Jammer10-Jan-10 23:13
Jammer10-Jan-10 23:13 
QuestionWPF Loader user control in not showing when calling Webserivce Pin
wasimsharp8-Jan-10 3:11
wasimsharp8-Jan-10 3:11 
AnswerRe: WPF Loader user control in not showing when calling Webserivce Pin
Mark Salsbery8-Jan-10 10:13
Mark Salsbery8-Jan-10 10:13 
QuestionHighlight Text in Textbox Pin
butchzn8-Jan-10 2:35
butchzn8-Jan-10 2:35 
AnswerRe: Highlight Text in Textbox Pin
Abhinav S8-Jan-10 6:47
Abhinav S8-Jan-10 6:47 
AnswerRe: Highlight Text in Textbox Pin
Mark Salsbery8-Jan-10 10:09
Mark Salsbery8-Jan-10 10:09 
GeneralRe: Highlight Text in Textbox Pin
butchzn10-Jan-10 20:44
butchzn10-Jan-10 20:44 
GeneralRe: Highlight Text in Textbox Pin
Mark Salsbery10-Jan-10 21:33
Mark Salsbery10-Jan-10 21:33 

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.