Click here to Skip to main content
15,914,109 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: to WPF or not Pin
zorro91115-May-08 13:48
zorro91115-May-08 13:48 
GeneralRe: to WPF or not Pin
Ed.Poore15-May-08 14:10
Ed.Poore15-May-08 14:10 
GeneralRe: to WPF or not Pin
zorro91120-May-08 20:43
zorro91120-May-08 20:43 
GeneralRe: to WPF or not Pin
Ed.Poore20-May-08 22:31
Ed.Poore20-May-08 22:31 
QuestionHELP! Pin
Jammer15-May-08 9:56
Jammer15-May-08 9:56 
QuestionRe: HELP! Pin
Jammer15-May-08 10:21
Jammer15-May-08 10:21 
AnswerRe: HELP! Pin
Jammer15-May-08 11:14
Jammer15-May-08 11:14 
Questionediting the listview in WPF Pin
member2715-May-08 2:12
member2715-May-08 2:12 
I have Binded the listview. when i click the columns it changes to textbox.. How to retrieve the textbox values while editing the textbox in listview.??

I want to update the database when i click the Save button .





<DataTemplate x:Key="cellTemplateName">
<Grid >
<TextBox Name="txtname" BorderThickness="0" Text="{Binding Path=psc_name}" VerticalAlignment="Center" ></TextBox>
</Grid>
</DataTemplate>

<DataTemplate x:Key="cellTemplateRGB">
<Grid>
<TextBox Name="txtrgb" BorderThickness="0" Text="{Binding Path=psc_rgb}"></TextBox>
</Grid>

</DataTemplate>

</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="500" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ListView Name="ListColor" Grid.Row="0" >

<ListView.View>
<GridView AllowsColumnReorder="true" ColumnHeaderToolTip="Color Information" >
<!-- <GridViewColumn CellTemplate="{StaticResource cellTemplateCode}" Header="Code" Width="100"/>-->
<GridViewColumn DisplayMemberBinding="{Binding Path=psc_code}" Header="Code" Width="100"/>
<GridViewColumn CellTemplate="{StaticResource cellTemplateName}" Header="Name" Width="100"/>
<GridViewColumn CellTemplate="{StaticResource cellTemplateRGB}" Header="RGB" Width="100"/>
</GridView>
</ListView.View>
</ListView>
<StackPanel Margin="0,20,0,0" Background="White" HorizontalAlignment="Left" Grid.Row="1" >
<Button Name="btnsave" Width ="50" Height="30" >Save</Button>

</StackPanel >

</Grid>
AnswerRe: editing the listview in WPF Pin
User 27100915-May-08 6:51
User 27100915-May-08 6:51 
QuestionHow Silverlight write data to XML file? Pin
tomalani15-May-08 1:57
tomalani15-May-08 1:57 
AnswerRe: How Silverlight write data to XML file? Pin
Michael Sync15-May-08 7:29
Michael Sync15-May-08 7:29 
GeneralRe: How Silverlight write data to XML file? Pin
Michael Sync15-May-08 17:57
Michael Sync15-May-08 17:57 
QuestionComponent One WPF Grid with VS 2008 Pin
Arijit Manna14-May-08 21:30
Arijit Manna14-May-08 21:30 
AnswerRe: Component One WPF Grid with VS 2008 Pin
User 27100915-May-08 6:54
User 27100915-May-08 6:54 
GeneralRe: Component One WPF Grid with VS 2008 Pin
Arijit Manna15-May-08 21:15
Arijit Manna15-May-08 21:15 
GeneralRe: Component One WPF Grid with VS 2008 Pin
Arijit Manna22-May-08 22:15
Arijit Manna22-May-08 22:15 
QuestionWpf datagrid Pin
member2713-May-08 2:48
member2713-May-08 2:48 
AnswerRe: Wpf datagrid Pin
User 27100914-May-08 6:50
User 27100914-May-08 6:50 
GeneralRe: Wpf datagrid Pin
Feras Mazen Taleb30-Dec-08 22:17
Feras Mazen Taleb30-Dec-08 22:17 
GeneralRe: Wpf datagrid Pin
User 27100930-Dec-08 22:23
User 27100930-Dec-08 22:23 
GeneralRe: Wpf datagrid Pin
Feras Mazen Taleb31-Dec-08 3:41
Feras Mazen Taleb31-Dec-08 3:41 
QuestionTreeViewItem.MouseDoubleClick fires three times. Pin
Lutosław13-May-08 1:58
Lutosław13-May-08 1:58 
AnswerProblem resolved Pin
Lutosław13-May-08 2:02
Lutosław13-May-08 2:02 
GeneralRe: Problem resolved Pin
Mark Salsbery13-May-08 6:22
Mark Salsbery13-May-08 6:22 
GeneralRe: Problem resolved Pin
Lutosław14-May-08 14:46
Lutosław14-May-08 14:46 

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.