public ChatPage(Conversation con) : this() { var vm = new Chat.ViewModels.ChatPageViewModel(con); vm.View = this; this.BindingContext = vm; this.Title = con.Title; ScrollListCommand = new Command(() => { ChatList.ScrollToLast(); }); if (!string.IsNullOrEmpty(con.HTMLTable)) { var webView = MessageBoard.FindByName <WebView>("webView"); webView.Source = new HtmlWebViewSource { Html = con.HTMLTable }; } // ChatList.Opacity = 0; //var itemSource = ChatList.ItemsSource as ObservableCollection<GroupedMessage>; //var lastMessage = itemSource.Last().Last(); ChatList.ScrollToLast(); //ChatList.ScrollToLast(); //ChatList.ScrollTo(lastMessage, ScrollToPosition.MakeVisible, false); // ChatList.Opacity = 1; }