The easy to use and full featured Irc Bot everyone is talking about!
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }