ExpressionEditorSheet.ServiceProvider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.