DataGrid.OnTextInput(TextCompositionEventArgs) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供路由事件的類別處理 TextInput 。
protected:
override void OnTextInput(System::Windows::Input::TextCompositionEventArgs ^ e);
protected override void OnTextInput(System.Windows.Input.TextCompositionEventArgs e);
override this.OnTextInput : System.Windows.Input.TextCompositionEventArgs -> unit
Protected Overrides Sub OnTextInput (e As TextCompositionEventArgs)
參數
事件資料。
備註
此實作透過將事件資料的屬性設定Handled為 true,來標記TextInput事件為處理狀態。