public override void OnNavigatedTo(NavigatedToEventArgs e, Dictionary<string, object> viewModelState)
        {
            base.OnNavigatedTo(e, viewModelState);

            _recurrence = JsonConvert.DeserializeObject<Meeting.EventRecurrence>((string)e.Parameter);

            PopulatePatternViews();

            switch (_recurrence.Range.Type.ToLower())
            {
                case OData.NoEnd:    IsNoEnd = true; break;
                case OData.Numbered: IsNumbered = true; break;
                case OData.EndDate:  IsEndBy = true; break;
            }

            StartDate = DateTimeOffset.Parse(_recurrence.Range.StartDate);
            EndDate = DateTime.Parse(_recurrence.Range.EndDate);
        }
        private void OnInitialize(object parameter)
        {
            GetEvent<InitDialogEvent>().Unsubscribe(OnInitialize);

            _recurrence = Deserialize<Meeting.EventRecurrence>(parameter);
            PopulatePatternViews();

            switch (_recurrence.Range.Type.ToLower())
            {
                case OData.NoEnd: IsNoEnd = true; break;
                case OData.Numbered: IsNumbered = true; break;
                case OData.EndDate: IsEndBy = true; break;
            }

            StartDate = DateTimeOffset.Parse(_recurrence.Range.StartDate);
            EndDate = DateTime.Parse(_recurrence.Range.EndDate);
        }
        protected override void OnNavigatedTo(object parameter)
        {
            _recurrence = JSON.Deserialize<Meeting.EventRecurrence>(parameter);
            PopulatePatternViews();

            switch (_recurrence.Range.Type.ToLower())
            {
                case OData.NoEnd: IsNoEnd = true; break;
                case OData.Numbered: IsNumbered = true; break;
                case OData.EndDate: IsEndBy = true; break;
            }

            StartDate = DateTimeOffset.Parse(_recurrence.Range.StartDate);
            EndDate = DateTime.Parse(_recurrence.Range.EndDate);
        }