コード例 #1
0
 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;
     }
 }
コード例 #2
0
 internal void TryLoadData(ListPickerPageParameter parameter)
 {
     this.FillDataFromParameter(parameter);
 }