Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

UIServiceContainerExtensions.GetRequiredService Method

Name Parameters Description
GetRequiredService(IUIServiceContainer, Type, String) static container, type, key Gets the service from the specified IUIServiceContainer. If the requested service is not found, the method throws an exception.
GetRequiredService<T>(IUIServiceContainer, String) static container, key Gets the service from the specified IUIServiceContainer. If the required service is not found, the method throws an exception.