提供用于 TextInput 路由事件的类处理。
命名空间:  Microsoft.Windows.Controls.Ribbon
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Protected Overrides Sub OnTextInput ( _
    e As TextCompositionEventArgs _
)
protected override void OnTextInput(
    TextCompositionEventArgs e
)
protected:
virtual void OnTextInput(
    TextCompositionEventArgs^ e
) override
abstract OnTextInput : 
        e:TextCompositionEventArgs -> unit 
override OnTextInput : 
        e:TextCompositionEventArgs -> unit 
protected override function OnTextInput(
    e : TextCompositionEventArgs
)
参数
备注
此实现通过将事件数据的 Handled 属性设置为 true,将 TextInput 事件标记为已处理。 此实现并不调用基实现。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。