Finally, I got it!
In case somebody else wants to know how I could achieve it. The Handler
for the DevExpress DXScrollView
needs to be extended like this so that it is possible to set the ScrollBars
invisible. This could also be combined with the Flag described in my response with the Intent from the Test Code, so that the DXScrollViewHandler
sets them only invisible when in Test Code:
// Register DXScrollView with ScrollViewHandler
handlers.AddHandler<DXScrollView, DXScrollViewHandler>();
// Extend the Mapping for the DXScrollViewHandler
DXScrollViewHandler.ViewMapper.AppendToMapping("DisableScrollBars", (handler, view) =>
{
#if ANDROID
if (handler is DevExpress.Maui.CollectionView.Internal.DXCollectionViewHandler dxScrollView)
{
dxScrollView.PlatformView.ScrollBarVisible = false;
}
#endif
});