Struct AutoAppendInfo
Specifies the information required by the AutoAppend class to enable auto appending in a control.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public struct AutoAppendInfo
Remarks
Take a look at AutoAppend for a usage example.
Constructors
AutoAppendInfo(Boolean, String, IList, Int32)
Creates a new instance of this class and initializes it with these values.
Declaration
public AutoAppendInfo(bool autoAppend, string categoryName, IList items, int maxItems)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | autoAppend | Indicates whether to turn on AutoAppend; False if not. |
System.String | categoryName | The Category to which the contents in this control belong to. |
System.Collections.IList | items | The reference to an IList which will get the new items entered by the user. |
System.Int32 | maxItems | The maximum number of items in the list. |
Properties
AutoAppend
Indicates whether to turn on AutoAppend.
Declaration
public bool AutoAppend { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True to turn on auto appending; False to turn off. |
Remarks
Take a look at AutoAppend for a usage example.
CategoryName
Gets / sets the Category Name to which the contents of the list belong to.
Declaration
public string CategoryName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The category name. |
Remarks
Take a look at AutoAppend for a usage example.
Items
Gets / sets the IList into which new entries will be appended.
Declaration
public IList Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IList | A reference to an IList instance. |
Remarks
Take a look at AutoAppend for a usage example.
MaxItems
Gets / sets the desired maximum number of items in the list.
Declaration
public int MaxItems { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The maximum count. |
Remarks
If the count exceeds the maximum count, then AutoAppend will keep discarding the older entries. Take a look at AutoAppend for a usage example.