Click here to Skip to main content
14,669,179 members
Home » Discussions » Silverlight / WPF
   

Silverlight / WPF

 
GeneralRe: WPF Toolkit PropertyGrid Pin
Richard Deeming6-Jun-18 1:21
mveRichard Deeming6-Jun-18 1:21 
QuestionStyle Problem Pin
Kevin Marois9-May-18 12:03
professionalKevin Marois9-May-18 12:03 
AnswerRe: Style Problem Pin
Mycroft Holmes9-May-18 14:25
professionalMycroft Holmes9-May-18 14:25 
QuestionDataGrid Template Column Binding Pin
Kevin Marois9-May-18 5:05
professionalKevin Marois9-May-18 5:05 
AnswerRe: DataGrid Template Column Binding Pin
Nathan Minier9-May-18 7:15
professionalNathan Minier9-May-18 7:15 
GeneralRe: DataGrid Template Column Binding Pin
Kevin Marois9-May-18 9:48
professionalKevin Marois9-May-18 9:48 
GeneralRe: DataGrid Template Column Binding Pin
Nathan Minier10-May-18 1:04
professionalNathan Minier10-May-18 1:04 
QuestionDataGrid DataGridCheckBoxColumn Property Change Not Firing Pin
Kevin Marois2-May-18 6:52
professionalKevin Marois2-May-18 6:52 
I have this DataGrid:
<DataGrid Grid.Row="2"
            Grid.Column="0"
            Grid.ColumnSpan="2"
            ItemsSource="{Binding Files}"
            SelectedItem="{Binding SelectedFile}">
    <DataGrid.Columns>
        <DataGridCheckBoxColumn Header="Selected" Width="55" Binding="{Binding IsSelected, Mode=TwoWay}" IsReadOnly="{Binding IsFixed}" />
        <DataGridTextColumn Header="File Name" Width="50*" Binding="{Binding FileName}"/>
    </DataGrid.Columns>

</DataGrid>

The checkbox column is bound to a bool property on the FileEntity called IsSelected. When I click the checkbox inside the checkbox column the IsSelected property's Setter is not firing.

I also have a Select All button that calls this on the VM:
private void SelectAllExecuted()
{
    foreach (var file in Files)
    {
        file.IsSelected = true;
    }
}
This DOES cause the IsSelected's property to fire for each file entity.

Anyone see what's wrong?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: DataGrid DataGridCheckBoxColumn Property Change Not Firing Pin
Richard Deeming2-May-18 8:40
mveRichard Deeming2-May-18 8:40 
GeneralRe: DataGrid DataGridCheckBoxColumn Property Change Not Firing Pin
Kevin Marois2-May-18 9:46
professionalKevin Marois2-May-18 9:46 
QuestionWPF NIC counters Pin
Member 138058691-May-18 13:33
MemberMember 138058691-May-18 13:33 
AnswerRe: WPF NIC counters Pin
Gerry Schmitz2-May-18 11:27
mveGerry Schmitz2-May-18 11:27 
QuestionMagnify shader effect Pin
Nick Hallas1-May-18 10:33
MemberNick Hallas1-May-18 10:33 
AnswerRe: Magnify shader effect Pin
Gerry Schmitz2-May-18 11:39
mveGerry Schmitz2-May-18 11:39 
QuestionAssign Collection Items In XAML Pin
Kevin Marois23-Apr-18 8:40
professionalKevin Marois23-Apr-18 8:40 
AnswerRe: Assign Collection Items In XAML Pin
Richard Deeming23-Apr-18 8:58
mveRichard Deeming23-Apr-18 8:58 
GeneralRe: Assign Collection Items In XAML Pin
Kevin Marois23-Apr-18 9:25
professionalKevin Marois23-Apr-18 9:25 
AnswerRe: Assign Collection Items In XAML Pin
Maciej Los23-Apr-18 9:56
mveMaciej Los23-Apr-18 9:56 
GeneralRe: Assign Collection Items In XAML Pin
Kevin Marois23-Apr-18 10:00
professionalKevin Marois23-Apr-18 10:00 
GeneralRe: Assign Collection Items In XAML Pin
Richard Deeming24-Apr-18 1:14
mveRichard Deeming24-Apr-18 1:14 
QuestionMouseEventArgs.CLicks in WPF Pin
Enobong Adahada20-Apr-18 6:33
MemberEnobong Adahada20-Apr-18 6:33 
AnswerRe: MouseEventArgs.CLicks in WPF Pin
Gerry Schmitz20-Apr-18 13:18
mveGerry Schmitz20-Apr-18 13:18 
GeneralRe: MouseEventArgs.CLicks in WPF Pin
Enobong Adahada21-Apr-18 13:08
MemberEnobong Adahada21-Apr-18 13:08 
QuestionField Level Rights Pin
Kevin Marois18-Apr-18 7:38
professionalKevin Marois18-Apr-18 7:38 
AnswerRe: Field Level Rights Pin
Gerry Schmitz18-Apr-18 7:45
mveGerry Schmitz18-Apr-18 7:45 

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.