C# Class LiveBoard.ViewModel.MainViewModel

메인 뷰모델
Inheritance: ViewModelBase
Show file Open project: vapps/Modern_LiveBoard Class Usage Examples

Public Methods

Method Description
LoadSelectedBoard ( Board board, StorageFile retrievedFile ) : void
MainViewModel ( ) : System

Initializes a new instance of the MainViewModel class.

Play ( BoardViewModel board ) : void

재생하기

Preview ( BoardViewModel board ) : void
RefreshRecentOpenedList ( ) : void

최근 파일 목록 새로고침.

RemoveRecentOpenedList ( IList selectedItems ) : void

최근 파일목록에서 선택 아이템 삭제

Save ( BoardViewModel boardViewModel ) : void

저장하기.

Private Methods

Method Description
AddPage ( ) : void

페이지 추가

CanDeletePage ( Object arg ) : bool
DeletePage ( Object obj ) : void

페이지(들) 삭제.

EnsureUnsnapped ( ) : bool
PlayTimerEventHandler ( object sender, object e ) : void

매 초마다 실행되는 초단위 이벤트 핸들러

Stop ( BoardViewModel obj ) : void

종료

generatePageFromTemaplate ( LbTemplate template ) : IPage

데이터로 템플릿 사용.

Method Details

LoadSelectedBoard() public method

public LoadSelectedBoard ( Board board, StorageFile retrievedFile ) : void
board LiveBoard.Model.Board
retrievedFile Windows.Storage.StorageFile
return void

MainViewModel() public method

Initializes a new instance of the MainViewModel class.
public MainViewModel ( ) : System
return System

Play() public method

재생하기
public Play ( BoardViewModel board ) : void
board BoardViewModel
return void

Preview() public method

public Preview ( BoardViewModel board ) : void
board BoardViewModel
return void

RefreshRecentOpenedList() public method

최근 파일 목록 새로고침.
public RefreshRecentOpenedList ( ) : void
return void

RemoveRecentOpenedList() public method

최근 파일목록에서 선택 아이템 삭제
public RemoveRecentOpenedList ( IList selectedItems ) : void
selectedItems IList
return void

Save() public method

저장하기.
public Save ( BoardViewModel boardViewModel ) : void
boardViewModel BoardViewModel
return void