/// <summary> /// Initializes a new instance of the <see cref="MemberListControl"/> class. /// </summary> public MemberListControl() { this.InitializeComponent(); // Scrolls the MemberList to the top when the Channel changes Messenger.Default.Register <ChannelNavigateMessage>(this, m => { DispatcherHelper.CheckBeginInvokeOnUI(() => { MemberList.ScrollIntoView(ViewModel.CurrentBindableMembers.FirstOrDefault()); }); }); }