HeaderPane
Main
Hide
Share Link
Print

AutoCompleteAcceptEventArgs Class

Provides data for the SftMask.AutoCompleteAccept event.

An event handler can change the text entered, or clear Accept to leave the contents unchanged; the list closes in either case.

Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Inheritance

Syntax

public class AutoCompleteAcceptEventArgs : System.EventArgs;
Public Class AutoCompleteAcceptEventArgs
    Inherits System.EventArgs

Constructors

This class cannot be instantiated.

Properties

PublicAcceptDefines whether the entry replaces the contents.
PublicCurrentTextReturns the current contents of the control, with literals; empty input positions are spaces.
PublicEntryTextDefines the text that replaces the contents.

Fields

PublicStaticInherited from System.EventArgsEmptyProvides a value to use with events that do not have event data.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

Examples

C# View entire sample code

        private void sftMask2_DropDownOpened(object sender, DropDownEventArgs e) {
            DumpValues("sftMask2.DropDownOpened", e);
        }

        private void sftMask2_DropDownClosed(object sender, DropDownEventArgs e) {
            DumpValues("sftMask2.DropDownClosed", e);
        }

        private void sftMask2_AutoCompleteAccept(object sender, AutoCompleteAcceptEventArgs e) {
            DumpValues("sftMask2.AutoCompleteAccept", e);
        }

        private void sftMask2_PrePaste(object sender, PrePasteEventArgs e) {
            DumpValues("sftMask2.PrePaste", e);
        }

VB.NET View entire sample code

    Private Sub SftMask2_DropDownOpened(ByVal sender As Object, ByVal e As DropDownEventArgs) Handles SftMask2.DropDownOpened
        DumpValues("SftMask2.DropDownOpened", e)
    End Sub

    Private Sub SftMask2_DropDownClosed(ByVal sender As Object, ByVal e As DropDownEventArgs) Handles SftMask2.DropDownClosed
        DumpValues("SftMask2.DropDownClosed", e)
    End Sub

    Private Sub SftMask2_AutoCompleteAccept(ByVal sender As Object, ByVal e As AutoCompleteAcceptEventArgs) Handles SftMask2.AutoCompleteAccept
        DumpValues("SftMask2.AutoCompleteAccept", e)
    End Sub

    Private Sub SftMask2_PrePaste(ByVal sender As Object, ByVal e As PrePasteEventArgs) Handles SftMask2.PrePaste
        DumpValues("SftMask2.PrePaste", e)
    End Sub

See Also Classes | SftMask/NET 3.0