SetItems() public method

public SetItems ( ActionsPaneItemData items ) : void
items ActionsPaneItemData
return void
 public ActionsPaneItemCollectionData Read()
 {
     int index = 0;
     int exItemIndex = 0;
     int actionIndex = 0;
     int colIndex = 0;
     ActionsPaneItemData data = null;
     if (this._id == null)
     {
         return null;
     }
     if (this._id.Length > 0)
     {
         data = this.Read(ref index, ref exItemIndex, ref actionIndex, ref colIndex);
     }
     ActionsPaneItemCollectionData data2 = data as ActionsPaneItemCollectionData;
     if (data2 == null)
     {
         data2 = new ActionsPaneItemCollectionData();
         if (data != null)
         {
             data2.SetItems(new ActionsPaneItemData[] { data });
         }
     }
     return data2;
 }
 private void ReadCollection(ActionsPaneItemCollectionData data, ref int index, ref int exItemIndex, ref int actionIndex, ref int colIndex)
 {
     data.RenderAsRegion = this._renderAsRegion[colIndex];
     int num = this._itemsCount[colIndex];
     colIndex++;
     ActionsPaneItemData[] items = new ActionsPaneItemData[num];
     for (int i = 0; i < num; i++)
     {
         items[i] = this.Read(ref index, ref exItemIndex, ref actionIndex, ref colIndex);
     }
     data.SetItems(items);
 }