Click here to Skip to main content
15,913,854 members
Home / Discussions / WPF
   

WPF

 
QuestionTabItem Border [SOLVED] Pin
#realJSOP15-May-09 6:11
professional#realJSOP15-May-09 6:11 
AnswerRe: TabItem Border Pin
#realJSOP18-May-09 1:03
professional#realJSOP18-May-09 1:03 
AnswerRe: TabItem Border Pin
Pete O'Hanlon18-May-09 1:56
mvePete O'Hanlon18-May-09 1:56 
GeneralRe: TabItem Border Pin
#realJSOP18-May-09 9:02
professional#realJSOP18-May-09 9:02 
GeneralRe: TabItem Border Pin
#realJSOP19-May-09 9:57
professional#realJSOP19-May-09 9:57 
QuestionListen to the event when the border of one UI element crosses the border of the other UI element Pin
YouMiss15-May-09 5:09
YouMiss15-May-09 5:09 
AnswerRe: Listen to the event when the border of one UI element crosses the border of the other UI element Pin
Mark Salsbery15-May-09 6:44
Mark Salsbery15-May-09 6:44 
GeneralRe: Listen to the event when the border of one UI element crosses the border of the other UI element Pin
YouMiss16-May-09 7:45
YouMiss16-May-09 7:45 
GeneralRe: Listen to the event when the border of one UI element crosses the border of the other UI element Pin
Mark Salsbery16-May-09 7:51
Mark Salsbery16-May-09 7:51 
GeneralRe: Listen to the event when the border of one UI element crosses the border of the other UI element Pin
YouMiss16-May-09 8:38
YouMiss16-May-09 8:38 
QuestionWPF 3-D Points Plotting Pin
Member 124748115-May-09 3:24
Member 124748115-May-09 3:24 
AnswerRe: WPF 3-D Points Plotting Pin
Niladri_Biswas17-Jun-09 21:16
Niladri_Biswas17-Jun-09 21:16 
QuestionWPF DataGrid Pin
Baktha Singh Dharmaraj15-May-09 0:11
Baktha Singh Dharmaraj15-May-09 0:11 
AnswerRe: WPF DataGrid Pin
Mark Salsbery15-May-09 6:46
Mark Salsbery15-May-09 6:46 
AnswerRe: WPF DataGrid Pin
Niladri_Biswas13-Jun-09 3:37
Niladri_Biswas13-Jun-09 3:37 
QuestionRich WPF Charts Pin
Jacobus0114-May-09 21:27
Jacobus0114-May-09 21:27 
AnswerRe: Rich WPF Charts Pin
Member 124748119-May-09 8:02
Member 124748119-May-09 8:02 
QuestionWritableBitmap in silverlight3 Pin
VCsamir14-May-09 20:07
VCsamir14-May-09 20:07 
AnswerRe: WritableBitmap in silverlight3 Pin
Ray Cassick15-May-09 2:39
Ray Cassick15-May-09 2:39 
GeneralRe: WritableBitmap in silverlight3 Pin
VCsamir17-May-09 20:08
VCsamir17-May-09 20:08 
QuestionMultiselect mode not working for listview control containing a Gridview Pin
S Rajput14-May-09 16:12
S Rajput14-May-09 16:12 
Hi, i am trying to make a WPF listview control that contains a gridview. The problem is when i run the application, at one time user can select just 1 row of the grid. If user selects another row, the previous row selected is un-selected automatically i have tried using cntrl+ mouseclick still i can not select multiple grid view rows.
What exactly i want to do is, i would like to display gridview's coloumn(0) value of all the selected rows(concatinating each value) in the some textbox. Can anyone Please help?
My code is:


<DataTemplate x:Key="FirstCell">
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding Path=IsSelected,
RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListViewItem}}}" >


</CheckBox>
</StackPanel>
</DataTemplate>


<ListView
ItemsSource="{Binding}"
IsSynchronizedWithCurrentItem="True" Name="ListView1" Margin="218,83,25,88"
ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
SelectionChanged="ListView1_SelectionChanged" SelectionMode="Multiple">

<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<EventSetter Event="GotFocus" Handler="Item_GotFocus" />
</Style>
</ListView.ItemContainerStyle>

<ListView.View >

<GridView x:Name="Grid1" >

<GridViewColumn Header="Code" Width="70" >
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBox Text="{Binding Path=Code}"
Margin="-6,0,-6,0" x:Name="Codename"/>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
<GridViewColumn Header="Discription" Width="70" >
<GridViewColumn.CellTemplate>
<DataTemplate >
<TextBox Text="{Binding Path=Description}"
Margin="-6,0,-6,0" x:Name="Descriptionname" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
<GridViewColumn CellTemplate="{StaticResource FirstCell}"
Width="30"/>

</GridView>

</ListView.View>


</ListView>
AnswerRe: Multiselect mode not working for listview control containing a Gridview Pin
Mark Salsbery15-May-09 7:04
Mark Salsbery15-May-09 7:04 
AnswerRe: Multiselect mode not working for listview control containing a Gridview Pin
Niladri_Biswas13-Jun-09 3:43
Niladri_Biswas13-Jun-09 3:43 
QuestionPrism with DockManager Pin
Michael Sync14-May-09 15:51
Michael Sync14-May-09 15:51 
QuestionHow to get event of button inside stackpanel?very urgent.... Pin
salon14-May-09 4:23
salon14-May-09 4:23 

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.