TextBoxSelectionChangingEventArgs Klasse

Definition

Stellt Ereignisdaten für das TextBox.SelectionChanging-Ereignis bereit .

public ref class TextBoxSelectionChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TextBoxSelectionChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TextBoxSelectionChangingEventArgs
Public NotInheritable Class TextBoxSelectionChangingEventArgs
Vererbung
Object Platform::Object IInspectable TextBoxSelectionChangingEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)

Hinweise

Ein instance dieser Klasse wird als Parameter an den SelectionChanging-Ereignishandler übergeben.

Eigenschaften

Cancel

Ruft einen Wert ab, der angibt, ob der Auswahlvorgang abgebrochen werden soll, oder legt diesen fest.

SelectionLength

Ruft die Länge der Textauswahl ab.

SelectionStart

Ruft den Anfangsindex der Textauswahl ab.

Gilt für: