RichEditBoxSelectionChangingEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides event data for the RichEditBox.SelectionChanging event.
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
- Inheritance
- Attributes
Remarks
An instance of this class is passed as a parameter to the SelectionChanging event handler.
Properties
Cancel |
Gets or sets a value that indicates whether the selection operation should be canceled. |
SelectionLength |
Gets the length of the text selection. |
SelectionStart |
Gets the starting index of the text selection. |