c# - Keyboard Map Binding -


i'm having trouble coming xaml page bind keyboard layout displayed on page. have observablecollection of rows contain keyboardkey datatypes specify width of button. collection bound listbox in xaml. problem i'm having on keyboards the height of key spans 2 rows, xaml listbox not support. avoid hard coding bunch of keys in xaml. thoughts on how approach this?

you can create own layout buy inheriting 1 of container controls , overriding arrangeoverride method.

you can find example here: http://www.wpftutorial.net/customlayoutpanel.html

when creating virtual keyboard, declined automatic layout , put buttons manually in designer. think in cultures better put key rows horizontal shift , in others better to place buttons under each other. have flexible layout , can edit in designer.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -