has_custom_style 属性

has_custom_style 属性

表示该单元格是否有自定义样式设置(不同于默认继承的 来自相应的行、列或工作簿)。

定义:

@property
def has_custom_style(self):
    ...

也可以看看