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
SyntaxC#
Copy Code
|
|---|
public abstract IResourceViewModel CreateResource () |
Visual Basic
Copy Code
|
|---|
Public MustOverride Function CreateResource () As IResourceViewModel |
An IResourceViewModel representing the newly created resource, or null (Nothing in Visual Basic), if the operation could not be completed.
See Also