현재 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. C# struct with struct
- 2. AS3 Bullet hitscan
- 3. WPF TextBox.Text with MultiBinding
- 4. WPF SplashScreen with UserControl
- 5. WPF with Windows Forms - STAThread
- 6. WPF with GDI 메모리 증가
- 7. TransactionScope with Files with C#
- 8. bullet physics : concave moving shape
- 9. WPF Application with OLE server
- 10. WPF with Windows Server 2003
- 11. WPF with Asp.Net MVC 배경
- 12. C++ send keyboard_event with Guard with Guard
- 13. C#에서 "With ... With With"와 동등 함?
- 14. mirc with C# 코드
- 15. SWIG with C++ 사용
- 16. Spicing C with classes
- 17. C# with DirectX
- 18. C# with Nhibernate
- 19. Cuckoo hashing with C
- 20. gconf-client with C
- 21. Vim [C# with motion #
- 22. C "Play with"디렉토리
- 23. protobuf-net with C++
- 24. SHMultiFileProperties with C++
- 25. C++ help with headers
- 26. new with C++ constructor
- 27. C with assembly tutorials
- 28. C# List with ProgressBar
- 29. IE Disappearing Bullet Bug in Floated DIV
- 30. 파일에서 Bullet Physics 메쉬 불러 오기