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)

适用于

另请参阅