Skip to content

是否可以为TextBox、ComboBox等编辑类控件单独增加label等附加属性 #252

Answered by rabbitism
nblfeng asked this question in Q&A
Discussion options

You must be logged in to vote

首先,Form和FormGroup是支持自定义ItemsPanel的,可以参考我刚刚写的示例

https://github.com/irihitech/Avalonia-Tutorials/tree/main/Tutorials/FormLayout

其次,在TextBox中存在InnerLeftContent,可以作为内部的label。

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rabbitism
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #246 on May 29, 2024 17:03.