ArcGIS Pro 2.7 API Reference Guide
DimensionStyle Property
Example 

ArcGIS.Desktop.Mapping Namespace > DimensionStyleStyleItem Class : DimensionStyle Property
Gets or sets the ArcGIS.Core.CIM.CIMDimensionStyle of the dimension style style item.
Syntax
public CIMDimensionStyle DimensionStyle {get; set;}
Public Property DimensionStyle As CIMDimensionStyle
Exceptions
ExceptionDescription
This property must be called within the lambda passed to QueuedTask.Run
Example
DimensionStyleStyleItem dimensionStyleStyleItem = null;
CIMDimensionStyle dimensionStyle = await QueuedTask.Run<CIMDimensionStyle>(() =>
{
  return dimensionStyleStyleItem.DimensionStyle;
});
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

DimensionStyleStyleItem Class
DimensionStyleStyleItem Members