Adds a new Grid to the StackPanel that the TextBlock that Message is bound to belongs in.
Adds an event called JumpToReply which essentially finds the ModelView belonging to the replied-to message within MessagesListItemsControl and scrolls directly to it by using FrameworkElement.BringIntoView()
Adds two properties to MessageViewModel in Message.cs named IsReply and ReplyMessage. IsReply is used to conditionally set ReplyMessage based on whether the message actually is a reply, but also whether that message should be replied to as well. The signature for MessageViewModel.FromMessage has been changed to append the variable isReply to the end that is used to avoid a recursion-based error.
Adds a new Grid to the StackPanel that the TextBlock that Message is bound to belongs in.
Adds an event called
JumpToReply
which essentially finds the ModelView belonging to the replied-to message withinMessagesListItemsControl
and scrolls directly to it by usingFrameworkElement.BringIntoView()
Adds two properties to
MessageViewModel
inMessage.cs
namedIsReply
andReplyMessage
.IsReply
is used to conditionally setReplyMessage
based on whether the message actually is a reply, but also whether that message should be replied to as well. The signature forMessageViewModel.FromMessage
has been changed to append the variableisReply
to the end that is used to avoid a recursion-based error.