更新时间:2022-06-19 08:28:19
否,
问题尚不清楚:-D
您可以从样式内设置控件的属性.例如,对于textbox
:
No,
The question isn''t clear :-D
You can set properties of controls from within the style. For example, for atextbox
:
<Setter Property="Textbox.Text" Value="Tra la la"/>
需要将datacontext
向下传送到样式中的textbox
es等.希望有帮助.
Thedatacontext
needs to be carried down to thetextbox
es, etc. that are within the style. Hope that helps.