I have a ListBox
in a WPF Window.
Based on the selected item of a ComboBox
, the ListBox
items are retrieved from database and bound as the ListBox's ItemSource
.
I want to change the case of the ListBox
items, i.e., when i bind all the items are in uppercase. I want to change the case to capitalize only the starting letter of a word.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
You need a converter to achieve this behavior.
Add this as resource
and use it in XAML as