IModelBrowserHost Interface

This is the contract class for the host that want to host the IModelBrowser WPF user control.

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)


Public Interface IModelBrowserHost
public interface IModelBrowserHost
public interface class IModelBrowserHost
type IModelBrowserHost =  interface end
public interface IModelBrowserHost

The IModelBrowserHost type exposes the following members.


  Name Description
Public property Metadata Collections of limitations, hints and etc to by used by the browsers
Public property ModelBrowser Gets the IModelBrowser
Public property ModelBus Gets the IModelBus
Public property Reference Gets the ModelBusReference



  Name Description
Public method CancelAndClose Closes the host without validating (cancel action)
Public method Clear Clears the references (set's it to null)
Public method CloseIfValid Closes the host if it validates correctly (ok action)
Public method ResizeToMeasure Requests the host to re-measure the control in order to potentially grow/shrink based on the new size requirements


See Also


Microsoft.VisualStudio.Modeling.Integration.Picker Namespace