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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
'Declaration
Public Interface IModelBrowserHost
public interface IModelBrowserHost
public interface class IModelBrowserHost
type IModelBrowserHost = interface end
public interface IModelBrowserHost
The IModelBrowserHost type exposes the following members.
Properties
Name | Description | |
---|---|---|
Metadata | Collections of limitations, hints and etc to by used by the browsers | |
ModelBrowser | Gets the IModelBrowser | |
ModelBus | Gets the IModelBus | |
Reference | Gets the ModelBusReference |
Top
Methods
Name | Description | |
---|---|---|
CancelAndClose | Closes the host without validating (cancel action) | |
Clear | Clears the references (set's it to null) | |
CloseIfValid | Closes the host if it validates correctly (ok action) | |
ResizeToMeasure | Requests the host to re-measure the control in order to potentially grow/shrink based on the new size requirements |
Top
See Also
Reference
Microsoft.VisualStudio.Modeling.Integration.Picker Namespace