modified some descriptions
This commit is contained in:
1 parent
a2684e679e
commit
e05b932063
2 files changed
+7
-11
No files matched your search
@@ -11,8 +11,6 @@ title: VisualElement 可视化元素
|
||||
|
||||
# 使用案例
|
||||
|
||||
对应`xaml`中添加`HandyControl`对应的命名空`xmlns:hc="https://handyorg.github.io/handycontrol"`
|
||||
|
||||
## HighlightBrush 设置控件高亮颜色
|
||||
|
||||
```xml
|
||||
@@ -35,7 +33,7 @@ title: VisualElement 可视化元素
|
||||
|
||||
## Text 设置文本内容
|
||||
|
||||
可视化文本内容,主要用于微软`WPF`库中原生控件需要显示辅助文本,但并没有对应的文本内容显示属性时,通过控件的自定义样式时,使用此附加属性进行进行文本内容的显示。
|
||||
主要用于设置控件的辅助文本,当控件没有合适的属性用于显示文本时,可通过此附加属性在自定义样式中设置。
|
||||
|
||||
例如:当自定义进度条,需要显示文本时,本身缺少显示额外文本内容的属性,可以通过自定样式显示对应文本,以`Text`作为文本内容承载属性
|
||||
|
||||
|
||||
Reference in new issue
Block a user