private SessionWindowName_Loaded ( object sender, RoutedEventArgs e ) : void | ||
sender | object | |
e | RoutedEventArgs | |
return | void |
private void SessionWindowName_Loaded(object sender, RoutedEventArgs e)
{
if (this.AVSession != null)
{
}
this.historyDataSource.CollectionChanged += (_sender, _e) =>
{
switch (_e.Action)
{
case NotifyCollectionChangedAction.Add:
case NotifyCollectionChangedAction.Remove:
case NotifyCollectionChangedAction.Replace:
case NotifyCollectionChangedAction.Reset:
this.historyCtrlScrollViewer.ScrollToEnd();
break;
}
};
}