CharacterReceivedRoutedEventArgs 类

定义

UIElement.CharacterReceived 路由事件提供事件数据。

public ref class CharacterReceivedRoutedEventArgs sealed : RoutedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [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(Microsoft.UI.Xaml.WinUIContract), 65536)]
[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
属性

属性

Character

获取与 UIElement.CharacterReceived 事件关联的组合字符。

注意

组合字符是派生自一个或多个其他字符序列的单个视觉对象。

Handled

获取或设置一个值,该值将路由事件标记为已处理。 true的 值Handled可防止事件路由中的大多数处理程序再次处理同一事件。

KeyStatus

获取引发字符接收事件的物理密钥的状态。

OriginalSource

获取对引发 事件的 对象的引用。 这通常是控件的模板部分,而不是在应用 UI 中声明的元素。

(继承自 RoutedEventArgs)

适用于

另请参阅