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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.