The easy to use and full featured Irc Bot everyone is talking about!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ScrollToBottomAction.cs 294B

12345678910111213
  1. using System.Windows.Controls;
  2. using System.Windows.Interactivity;
  3. namespace Interface
  4. {
  5. public class ScrollToBottomAction : TriggerAction<RichTextBox>
  6. {
  7. protected override void Invoke(object parameter)
  8. {
  9. AssociatedObject.ScrollToEnd();
  10. }
  11. }
  12. }