private void FillDataFromParameter(ListPickerPageParameter parameter) { this.SelectedItem = null; if (parameter == null) { this.ItemsSources = null; this.ItemTemplate = null; } else { this.ItemsSources = parameter.ItemsSources; this.ItemTemplate = parameter.ItemTemplate; this._itemWaitSelected = parameter.SelectedItem; } }
internal void TryLoadData(ListPickerPageParameter parameter) { this.FillDataFromParameter(parameter); }