twiner
twiner
CC#
Created by twiner on 12/22/2022 in #help
❔ Custom DataTemplate for TextElements or alternative approaches
Seems this is doable to a limited extent by implementing ICloneable and using MemberwiseClone This limits its usage to custom types
4 replies
CC#
Created by twiner on 12/22/2022 in #help
❔ Custom DataTemplate for TextElements or alternative approaches
My aim is to make it so I can easily add new type associations and how they will be rendered in the FlowDocument
4 replies
CC#
Created by twiner on 12/21/2022 in #help
Sanity check on WPF CustomControl Binding to ViewModel not working
I clearly have lost it
10 replies
CC#
Created by twiner on 12/21/2022 in #help
Sanity check on WPF CustomControl Binding to ViewModel not working
Thank you for the sanity check!
10 replies
CC#
Created by twiner on 12/21/2022 in #help
Sanity check on WPF CustomControl Binding to ViewModel not working
I've barely started my day and I feel like I should end it
10 replies
CC#
Created by twiner on 12/21/2022 in #help
Sanity check on WPF CustomControl Binding to ViewModel not working
😐 well that was it
10 replies
CC#
Created by twiner on 12/21/2022 in #help
Sanity check on WPF CustomControl Binding to ViewModel not working
I also tried changing the binding on Selected text to update on property change.
<AlertTextBox SelectedText="{Binding Path=SelectedText, UpdateSourceTrigger=PropertyChanged}" />
<AlertTextBox SelectedText="{Binding Path=SelectedText, UpdateSourceTrigger=PropertyChanged}" />
10 replies
CC#
Created by twiner on 12/21/2022 in #help
Sanity check on WPF CustomControl Binding to ViewModel not working
I have verified that the SelectionChanged callback is executed and that the value of Selection.Text is the expected value (the text that appears to be visually selected in the UI)
10 replies
CC#
Created by 1FriendlyDoge on 11/9/2022 in #help
❔ Issue with NotifyCanExecuteChangedFor from MVVM CommunityTK
In wpf atleast
39 replies
CC#
Created by 1FriendlyDoge on 11/9/2022 in #help
❔ Issue with NotifyCanExecuteChangedFor from MVVM CommunityTK
Notification is for properties not fields
39 replies