Class AutoCompleteAddItemCancelEventArgs
The event argument for the AutoCompleteAddItemCancelEventHandler delegate.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class AutoCompleteAddItemCancelEventArgs : CancelEventArgs
Remarks
This event handler is used as the event data for the BeforeAddItem event raised by the AutoComplete control.
Constructors
AutoCompleteAddItemCancelEventArgs()
Creates and intializes the AutoCompleteAddItemCancelEventArgs object.
Declaration
public AutoCompleteAddItemCancelEventArgs()
Remarks
The ImageColumnIndex property is initialized to -1 and the RowItem property is set to null.
Properties
ImageColumnIndex
Gets / sets the column index into the ImageList property.
Declaration
public int ImageColumnIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Remarks
The BeforeAddItem event uses the AutoCompleteAddItemCancelEventArgs type for the event data. This value can be set in the event hander to be a different value. Changing the index will change the image that will be displayed.
RowItem
The System.Data.DataRow object that contains the value that is to be added to the history list.
Declaration
public DataRow RowItem { get; set; }
Property Value
Type |
---|
System.Data.DataRow |
Remarks
The AutoComplete class uses a System.Data.DataTable and this value is one of the rows for the internal history list of the AutoComplete class. You can also set the values of sub items or change their values when it is handled in the BeforeAddItem event raised by the AutoComplete control.