Care.Views.Common.PostCommentView.OnNavigatedTo C# (CSharp) Method

OnNavigatedTo() protected method

protected OnNavigatedTo ( System e ) : void
e System
return void
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            IDictionary<string, string> queryString = this.NavigationContext.QueryString;

            String content = null;
            if (queryString.ContainsKey("Content"))
            {
                content = queryString["Content"];
                if (!String.IsNullOrEmpty(content))
                {
                    StatusMessageBox.Text = content;
                }
            }
            if (m_itemViewModel == null)
                NavigationService.GoBack();
            ChangeUIByInputType();
        }