Click here to Skip to main content
14,265,517 members

Silverlight / WPF

 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin
Leif Simon Goodwin14-Jun-18 21:36
memberLeif Simon Goodwin14-Jun-18 21:36 
QuestionWPF Toolkit PropertyGrid Pin
Kevin Marois5-Jun-18 4:30
professionalKevin Marois5-Jun-18 4:30 
SuggestionRe: WPF Toolkit PropertyGrid Pin
Richard Deeming5-Jun-18 9:30
mveRichard Deeming5-Jun-18 9:30 
GeneralRe: WPF Toolkit PropertyGrid Pin
Kevin Marois5-Jun-18 10:24
professionalKevin Marois5-Jun-18 10:24 
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
memberMycroft Holmes9-May-18 14:25 
QuestionDataGrid Template Column Binding Pin
Kevin Marois9-May-18 5:05
professionalKevin Marois9-May-18 5:05 
I've got the following DataGridTemplateColumn with a UserControl as its DataTemplate. I can't get the binding right. I need it to bind to the grid's data. What am I doing wrong here?
<DataGrid.Columns>

    <DataGridTemplateColumn Header="Value">
        <DataGridTemplateColumn.CellTemplate>
            <DataTemplate>
                <ContentControl>
                    <ContentControl.Style>
                        <Style TargetType="ContentControl">
                            <Style.Triggers>

                                <DataTrigger Binding="{Binding PropertyType}" Value="{x:Static ca:PropertyType.Boolean}">
                                    <Setter Property="ContentTemplate">
                                        <Setter.Value>
                                            <DataTemplate>
                                                <ctrls:CheckBoxPropertyView IsCheckedValue="{Binding Value}"/> <==HERE
                                            </DataTemplate>
                                        </Setter.Value>
                                    </Setter>
                                </DataTrigger>

                            </Style.Triggers>
                        </Style>
                    </ContentControl.Style>
                </ContentControl>
            </DataTemplate>
        </DataGridTemplateColumn.CellTemplate>
    </DataGridTemplateColumn>
</DataGrid.Columns>
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

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 
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
protectorMaciej 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 

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.