ViewService.GetModel(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the model corresponding to the view, or null
if there is no model that matches the view.
public:
abstract System::Activities::Presentation::Model::ModelItem ^ GetModel(System::Windows::DependencyObject ^ view);
public abstract System.Activities.Presentation.Model.ModelItem GetModel (System.Windows.DependencyObject view);
abstract member GetModel : System.Windows.DependencyObject -> System.Activities.Presentation.Model.ModelItem
Public MustOverride Function GetModel (view As DependencyObject) As ModelItem
Parameters
- view
- DependencyObject
The view object that you want to find the model for.
Returns
The corresponding model, or null
if there is no model for the given view object.
Exceptions
view
is null
.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.