共用方式為


RichEditBoxSelectionChangingEventArgs 類別

定義

提供 RichEditBox.SelectionChanging 事件的事件數據。

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

備註

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

屬性

Cancel

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

SelectionLength

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

SelectionStart

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

適用於