次の方法で共有


KeyboardInputBuffer クラス

定義

電話のソフトウェア入力パネル キーボードへのユーザー入力を集計するために使用されるテキスト バッファーへのアクセスを提供します。

public ref class KeyboardInputBuffer sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Phone.PhoneInternalContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneInternalContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class KeyboardInputBuffer final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneInternalContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Phone.PhoneInternalContract")]
class KeyboardInputBuffer final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Phone.PhoneInternalContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneInternalContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class KeyboardInputBuffer
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneInternalContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Phone.PhoneInternalContract")]
public sealed class KeyboardInputBuffer
Public NotInheritable Class KeyboardInputBuffer
継承
Object Platform::Object IInspectable KeyboardInputBuffer
属性

Windows の要件

デバイス ファミリ
Windows Mobile Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Phone.PhoneInternalContract (v1.0 で導入)

注釈

Windows Phone 8

この API はネイティブ アプリでのみサポートされています。

コンストラクター

KeyboardInputBuffer()

KeyboardInputBuffer クラスの新しいインスタンスを初期化します。

プロパティ

InputScope

電話のソフトウェア入力パネル キーボードに表示されるキーのセットを決定する入力スコープを取得または設定します。

SelectionLength

入力バッファー内の現在の選択範囲の文字数を取得します。

SelectionStart

入力バッファーで選択されているテキストの開始位置を取得します。

Text

入力バッファーの内容を取得または設定します。

メソッド

Select(UInt32, UInt32)

入力バッファー内のテキストの範囲を選択します。

SelectFromTap(UInt32)

ユーザーが入力バッファー内の指定した文字をタップした場合と同様に、テキストの範囲を選択します。

イベント

SelectionChanged

入力バッファー内のテキスト選択が変更されたときに発生します。

TextChanged

入力バッファーでコンテンツが変更されたときに発生します。

適用対象