Skip to main content

GridControl.GetService(Type) Method

Gets the service object of the specified type.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public object GetService(
    Type serviceType
)

Parameters

Name Type Description
serviceType Type

An object that specifies the type of service object to get.

Returns

Type Description
Object

A service object of the specified type, or a null reference if there is no service object of this type.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

See Also