C# Class ICSharpCode.WpfDesign.ViewService

Service for getting the view for a model or the model for a view.
Show file Open project: icsharpcode/WpfDesigner

Public Methods

Method Description
GetModel ( DependencyObject view ) : DesignItem

Gets the model represented by the specified view element.

Private Methods

Method Description
GetView ( DesignItem model ) : DependencyObject

Method Details

GetModel() public abstract method

Gets the model represented by the specified view element.
public abstract GetModel ( DependencyObject view ) : DesignItem
view System.Windows.DependencyObject
return DesignItem