| DtkDeclarative
                             DTK Declarative module | 
 
 | 属性 | |
| DPalette | backgroundColor | 
| backgroundColor 用来控制 ButtonIndicator 控件中的背景颜色。 backgroundColor作为 Palette 类型能够自动适配深浅主题。 通常情况下,backgroundColor属性已经被设置过,使用时无需关心,当需要自定义颜色时 可以通过重新定义该值来完成。 | |
| Item | control | 
提供 Button 控件内部使用的按钮指示器.
ButtonIndicator 作为 Button 控件中的 内部控件,其目的是作为一个按钮指示器。在功能上没有任何增加,仅是对控件 效果进行了轻微调整。 其使用方式如下代码所示:
或者
其效果分别为:
 
和
