現在、EditingCommands.ToggleBulletsが実行されたときにBullet MarkerStyleを変更する方法を見つけようとしています。 Togglebulletsが実行される前に、CommandManager.Executeが実行されていることを理解しています。したがって、単にExecutedRoutedEventを使用してList.MarkerStyleに変更することはできません。 誰かがこれを正しい方向に向けることができますか?デフォルトのMarkerStyleを変更することもできますが、これを行う方法は見当たりませんでした。どんな助けもありがとうございます。ありがとうございました!Bullet MarkerStyle with C#WPF
1
A
答えて
1
XAMLでリストのデフォルトMarkerStyleを変更することができます。
<List MarkerStyle=Square>
<ListItem>Item with a square</ListItem>
</List>
1
またはあなたのためにすべてのMarkerStyleプロパティが変更されるあなたのリソースにスタイルを含める:
<Style TargetType="List">
<Setter Property="MarkerStyle" Value="Square" />
</Style>
関連する問題
- 1. bullet chart in Angular with d3
- 2. WPF c#outlook sendEventHandler withパラメータ
- 3. LinuxのC++プロジェクトでBulletを使用
- 4. 進捗バー+ clipboard.getimage()with backgroundworker - WPF C#
- 5. WPF with web cam
- 6. WPF with ALTショートカット
- 7. Python 3 with WPF
- 8. WPF with MVC with WCF with async await pattern
- 9. Bullet Physics、Visual Studioでのリンクエラー
- 10. AS3 Bullet hitscan
- 11. Bullet list css
- 12. ActionScript 3:Bullet Ricocheting
- 13. Selenium WebDriver Html bullet
- 14. WPF ProgressBar with valueデータバインディング
- 15. WPF with Windows Server 2003
- 16. WrapPanel with 2 items WPF
- 17. WPF XAML ListView with ScrollBars
- 18. TabControl with border wpf(XP)
- 19. WPFバインドComboBox with CheckBox
- 20. バインドItemsControl with WrapPanel wpf
- 21. wpf validation rules with textbox
- 22. wpf combobox with checkbox - selecteditem
- 23. エラー#1009、ActionScript 3、Bullet is null
- 24. LaTeX \ bullet symbol in mtext
- 25. Imperavi redactor.js bulletのテーブルプラグ
- 26. D3 bullet chart and ie8
- 27. "with with macro" C
- 28. GDB with C++ with C code
- 29. WPF with C++、それは可能ですか?
- 30. WPF MVVM Light Toolbox with EntityフレームワークC#単純なlinq