This topic has not yet been rated - Rate this topic

KeyboardInputBuffer class

Applies to Windows Phone only

Provides access to a text buffer that is used to aggregate user input to the Software Input Panel keyboard on the phone.

Syntax


public sealed class KeyboardInputBuffer

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The KeyboardInputBuffer class has these types of members:

Constructors

The KeyboardInputBuffer class has these constructors.

ConstructorDescription
KeyboardInputBuffer Initializes a new instance of the KeyboardInputBuffer class.

 

Events

The KeyboardInputBuffer class has these events.

EventDescription
SelectionChanged Occurs when the text selection within the input buffer has changed.
TextChanged Occurs when the content changes in the input buffer.

 

Methods

The KeyboardInputBuffer class has these methods. It also inherits methods from the Object class.

MethodDescription
Select Selects a range of text in the input buffer.
SelectFromTap Selects a range of text as if the user had tapped on the specified character in the input buffer.

 

Properties

The KeyboardInputBuffer class has these properties.

PropertyAccess typeDescription

InputScope

Read/writeGets or sets the input scope which determines the set of keys displayed on the Software Input Panel keyboard on the phone

SelectionLength

Read-onlyGets the number of characters in the current selection in the input buffer.

SelectionStart

Read-onlyGets the starting position of the text selected in the input buffer.

Text

Read/writeGets or sets the contents of the input buffer.

 

Remarks

Windows Phone 8

This API is supported in native apps only.

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.UI.Core
Windows::Phone::UI::Core [C++]

Metadata

Windows.winmd

See also

Object

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.