Beispiel #1
0
 public List <MedViewerControlCell> GetCells()
 {
     return(FilmPageUtil.GetCellsOfLayoutCell(RootLayoutCell));
 }
Beispiel #2
0
 public IEnumerable <MedViewerControlCell> GetSelectedCells()
 {
     return(FilmPageUtil.GetSelectedCellsOfLayoutCell(RootLayoutCell));
 }
Beispiel #3
0
        //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);
        }