MindFusion.Wpf Pack Programmer's Guide
IProjectViewModel.CreateResource Method
See Also
 





Creates and adds a new resource to the project. A respective object of type ResourceType is created and added to the underlying model as well.

Namespace: MindFusion.DataViews.Wpf
Assembly: MindFusion.DataViews.Wpf

 Syntax

C#  Copy Code

public abstract IResourceViewModel CreateResource ()

Visual Basic  Copy Code

Public MustOverride Function CreateResource () As IResourceViewModel

 Return Value

An IResourceViewModel representing the newly created resource, or null (Nothing in Visual Basic), if the operation could not be completed.

 See Also

IProjectViewModel Members
IProjectViewModel Interface
MindFusion.DataViews.Wpf Namespace