The following error is generated when raster.IsExpanded is tried.
How can raster.IsExpanded be used.
By the way... I found "IsExpanded" with the CIMViewer. 🙂

RasterLayer raster = null;
await QueuedTask.Run(() =>
{
raster = LayerFactory.Instance.CreateLayer<RasterLayer>(rasterLayerCreationParams, map);
});
await SetToClassifyColorizer(raster);
raster.IsExpanded