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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET