public List <MedViewerControlCell> GetCells() { return(FilmPageUtil.GetCellsOfLayoutCell(RootLayoutCell)); }
public IEnumerable <MedViewerControlCell> GetSelectedCells() { return(FilmPageUtil.GetSelectedCellsOfLayoutCell(RootLayoutCell)); }
//public int MaxImagesCount //{ // get // { // int maxImagesCount = 0; // if (CellLayout.LayoutType == LayoutTypeEnum.StandardLayout) // { // maxImagesCount = CellLayout.LayoutColumnsSize * CellLayout.LayoutRowsSize; // } // else if (CellLayout.LayoutType == LayoutTypeEnum.DefinedLayout) // { // //add 1 for root cell reduce. // maxImagesCount = FilmPageUtil.GetChildNodeCount(RootLayoutCell) + 1; // //MessageBox.Show(_maxImagesCount.ToString()); // } // return maxImagesCount; // } //} public void SelectAllCells(bool isSelected) { FilmPageUtil.SelectCellsOfLayoutCell(RootLayoutCell, isSelected); }