共用方式為


CharacterReceivedRoutedEventArgs 類別

定義

提供 UIElement.CharacterReceived 路由事件的事件資料。

public ref class CharacterReceivedRoutedEventArgs sealed : RoutedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CharacterReceivedRoutedEventArgs final : RoutedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CharacterReceivedRoutedEventArgs : RoutedEventArgs
Public NotInheritable Class CharacterReceivedRoutedEventArgs
Inherits RoutedEventArgs
繼承
Object Platform::Object IInspectable RoutedEventArgs CharacterReceivedRoutedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

屬性

Character

取得與UIElement.CharacterReceived事件相關聯之組成字元的UTF-16 程式碼單位

注意

組成字元是衍生自一或多個其他字元序列的單一視覺物件。

Handled

取得或設定值,這個值會將路由事件標示為已處理。 Handledtrue值可防止事件路由上的大部分處理常式再次處理相同的事件。

KeyStatus

取得引發字元接收事件之實體索引鍵的狀態。

OriginalSource

取得引發事件之 物件的參考。 這通常是控制項的範本部分,而不是在應用程式 UI 中宣告的專案。

(繼承來源 RoutedEventArgs)

適用於

另請參閱