C# Class NinjaCoder.MvvmCross.ViewModels.AddViews.ViewsViewModel

Defines the ViewsViewModel type.
Inheritance: Scorchio.Infrastructure.Wpf.ViewModels.Wizard.BaseWizardStepViewModel
显示文件 Open project: asudbury/NinjaCoderForMvvmCross

Public Methods

Method Description
Add ( ) : void

Adds this instance.

CanMoveToNextPage ( ) : bool

Determines whether this instance [can move to next page].

CanMoveToPreviousPage ( ) : bool

Determines whether this instance [can move to previous page].

ChooseFramework ( object parameter ) : void

Chooses the framework.

ChooseLayoutType ( object parameter ) : void

Chooses the type of the layout.

ChoosePageType ( object parameter ) : void

Chooses the type of the page.

DeleteView ( object parameter ) : void

Deletes the view.

OnInitialize ( ) : void

Called when [initialize].

OnNext ( ) : Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier

For when yous need to save some values that can't be directly bound to UI elements. Not called when moving previous (see WizardViewModel.MoveToNextStep).

ViewsViewModel ( IVisualStudioService visualStudioService, ISettingsService settingsService, IFrameworkFactory frameworkFactory, IXamarinPageFactory pageFactory, IXamarinLayoutFactory layoutFactory, IMessageBoxService messageBoxService, IMvvmCrossViewFactory mvvmCrossViewFactory, IViewModelAndViewsFactory viewModelAndViewsFactory ) : System.Collections.Generic

Initializes a new instance of the ViewsViewModel class.

Private Methods

Method Description
DisplayFrameworks ( ) : void

Displays the frameworks.

DisplayGrid ( ) : void

Displays the grid.

DisplayLayouts ( ) : void

Displays the layouts.

DisplayLayoutsWebPage ( object parameter ) : void

Displays the layouts web page.

DisplayPages ( string framework ) : void

Displays the pages.

DisplayPagesWebPage ( object parameter ) : void

Displays the pages web page.

DisplayUIHelpPage ( ) : void

Displays the UI help page.

GetImageItemWithDescription ( NinjaCoder.MvvmCross.Entities.View view, IEnumerable items ) : Scorchio.Infrastructure.Entities.ImageItemWithDescription

Gets the image item with description.

GetName ( ) : string

Gets the name.

Method Details

Add() public method

Adds this instance.
public Add ( ) : void
return void

CanMoveToNextPage() public method

Determines whether this instance [can move to next page].
public CanMoveToNextPage ( ) : bool
return bool

CanMoveToPreviousPage() public method

Determines whether this instance [can move to previous page].
public CanMoveToPreviousPage ( ) : bool
return bool

ChooseFramework() public method

Chooses the framework.
public ChooseFramework ( object parameter ) : void
parameter object The parameter.
return void

ChooseLayoutType() public method

Chooses the type of the layout.
public ChooseLayoutType ( object parameter ) : void
parameter object The parameter.
return void

ChoosePageType() public method

Chooses the type of the page.
public ChoosePageType ( object parameter ) : void
parameter object The parameter.
return void

DeleteView() public method

Deletes the view.
public DeleteView ( object parameter ) : void
parameter object The parameter.
return void

OnInitialize() public method

Called when [initialize].
public OnInitialize ( ) : void
return void

OnNext() public method

For when yous need to save some values that can't be directly bound to UI elements. Not called when moving previous (see WizardViewModel.MoveToNextStep).
public OnNext ( ) : Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier
return Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier

ViewsViewModel() public method

Initializes a new instance of the ViewsViewModel class.
public ViewsViewModel ( IVisualStudioService visualStudioService, ISettingsService settingsService, IFrameworkFactory frameworkFactory, IXamarinPageFactory pageFactory, IXamarinLayoutFactory layoutFactory, IMessageBoxService messageBoxService, IMvvmCrossViewFactory mvvmCrossViewFactory, IViewModelAndViewsFactory viewModelAndViewsFactory ) : System.Collections.Generic
visualStudioService IVisualStudioService The visual studio service.
settingsService ISettingsService The settings service.
frameworkFactory IFrameworkFactory The framework factory.
pageFactory IXamarinPageFactory The page factory.
layoutFactory IXamarinLayoutFactory The layout factory.
messageBoxService IMessageBoxService The message box service.
mvvmCrossViewFactory IMvvmCrossViewFactory The MVVM cross view factory.
viewModelAndViewsFactory IViewModelAndViewsFactory The view model and views factory.
return System.Collections.Generic