共用方式為


RichEditBoxSelectionChangingEventArgs 類別

定義

提供 RichEditBox.SelectionChanging 事件的事件資料。

public ref class RichEditBoxSelectionChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RichEditBoxSelectionChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RichEditBoxSelectionChangingEventArgs
Public NotInheritable Class RichEditBoxSelectionChangingEventArgs
繼承
Object Platform::Object IInspectable RichEditBoxSelectionChangingEventArgs
屬性

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

備註

這個類別的實例會當做參數傳遞至 SelectionChanging 事件處理常式。

屬性

Cancel

取得或設定值,這個值表示是否應該取消選取作業。

SelectionLength

取得文字選取範圍的長度。

SelectionStart

取得文字選取範圍的起始索引。

適用於