Share via


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

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

Properties

Name Description
System_CAPS_pubproperty Metadata

Collections of limitations, hints and etc to by used by the browsers

System_CAPS_pubproperty ModelBrowser

Gets the IModelBrowser

System_CAPS_pubproperty ModelBus

Gets the IModelBus

System_CAPS_pubproperty Reference

Gets the ModelBusReference

Methods

Name Description
System_CAPS_pubmethod CancelAndClose()

Closes the host without validating (cancel action)

System_CAPS_pubmethod Clear()

Clears the references (set's it to null)

System_CAPS_pubmethod CloseIfValid()

Closes the host if it validates correctly (ok action)

System_CAPS_pubmethod 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

Return to top