Edit

Share via


ExpressionEditorSheet.ServiceProvider Property

Definition

Gets the service provider implementation that is used by the expression editor sheet.

public:
 property IServiceProvider ^ ServiceProvider { IServiceProvider ^ get(); };
[System.ComponentModel.Browsable(false)]
public IServiceProvider ServiceProvider { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ServiceProvider : IServiceProvider
Public ReadOnly Property ServiceProvider As IServiceProvider

Property Value

An IServiceProvider, typically provided by the design host, that can be used to obtain additional design-time services.

Attributes

Remarks

Use the ExpressionEditorSheet constructor to set the ServiceProvider implementation for a custom expression editor sheet.

The ServiceProvider property can be used to access services that are provided by the designer host. For example, call the GetService method with the IWebApplication interface to access project items, documents, or configuration file details that are provided through the visual designer.

Applies to

See also