Wednesday, May 2, 2012

Hardware Kayboard Support for Windows Phone 7 Emulator

Windows Phone 7 Emulator support hardware keyboard inputs.

Simple 2 steps to Enable Hardware keyboard.

Step 1 : Set Focus on Text Box.
Step 2: Press Page Up key from keyboard, it will enable hardware keyboard.

In windows Phone 7 development Text Box have InputScope that gives suggestions when you type key from keyboard.

it supports suggestions for Date,Chat,TelephoneNumber etc.

Following is code snnipet for InputScope in WP7.

<TextBox Text={Binding Description,Mode=TwoWay} >
    <TextBox.InputScope>
        <InputScope>
            <InputScopeName NameValue="Text"/>
        </InputScope>
    </TextBox.InputScope>
</TextBox>

No comments:

Post a Comment