ArcGIS Pro 2.7 API Reference Guide
SetSliceContainerExpanded Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayer Class : SetSliceContainerExpanded Method
Toggle expanded.
Sets the slice container expanded or collapsed. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetSliceContainerExpanded( 
   bool isExpanded
)
Public Sub SetSliceContainerExpanded( _
   ByVal isExpanded As Boolean _
) 

Parameters

isExpanded
Toggle expanded.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VoxelLayer Class
VoxelLayer Members