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