开发者

Programatically set the ToggleButton style within a treeviewitem

开发者 https://www.devze.com 2023-02-07 06:31 出处:网络
Does anyone know a way to set t开发者_开发技巧he style of a ToggleButton within a treeview item please?

Does anyone know a way to set t开发者_开发技巧he style of a ToggleButton within a treeview item please?

As in something like treeviewItem.ToggleButton.Style = "Blah" if you see what I mean.

Many thanks.


should be like this.

mytogglebutton.Style = CType(TryFindResource("MyToggleButtonStyle"),Windows.Style)
0

精彩评论

暂无评论...
验证码 换一张
取 消