New to Telerik UI for WPFStart a free 30-day trial

A generic interface which provides information about the given service and the service itself.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public interface IServiceProvider

Methods

Gets a service if available.

C#
T GetService<T>() where T : class
Returns:

T

The service.

Gets a value that indicates whether this provider has service of this type.

C#
bool HasService<T>() where T : class
Returns:

bool

True if such service is available, otherwise false.

In this article
DefinitionMethodsGetService<T>()HasService<T>()
Not finding the help you need?
Contact Support