Exemplo n.º 1
0
        public void SetSpecialView(ViewFrame view, SpecialViewType type)
        {
            switch (type)
            {
            case SpecialViewType.Big:
                SetBigView(view);
                break;

            case SpecialViewType.FullScreen:
                SetFullScreenView(view);
                break;
            }
        }
        public SelectAttendeeListViewModel(SelectAttendeeListView selectAttendeeListView, SpecialViewType specialViewType)
        {
            _selectAttendeeListView = selectAttendeeListView;
            _targetSpecialViewType  = specialViewType;

            _sdkService        = IoC.Get <IMeeting>();
            _userInfos         = IoC.Get <List <UserInfo> >();
            _viewLayoutService = IoC.Get <IViewLayout>();

            AttendeeItems = new ObservableCollection <AttendeeItem>();

            LoadedCommand        = new DelegateCommand(LoadedAsync);
            WindowKeyDownCommand = new DelegateCommand <object>(WindowKeyDownHandlerAsync);
        }
Exemplo n.º 3
0
        public void SetSpecialView(ViewFrame view, SpecialViewType type)
        {
            switch (type)
            {
            case SpecialViewType.Big:
                ChangeViewMode(ViewMode.BigSmalls);
                SetBigView(view);
                break;

            case SpecialViewType.FullScreen:
                ChangeViewMode(ViewMode.Closeup);
                SetFullScreenView(view);
                break;

            default:
                break;
            }
        }
Exemplo n.º 4
0
        public SelectAttendeeListView(SpecialViewType specialViewType)
        {
            InitializeComponent();

            DataContext = new SelectAttendeeListViewModel(this, specialViewType);
        }