Class ContextPromptBoldItemCollection
Represents a class that contains ContextPromptBoldItemCollection.
Inheritance
System.Object
System.Collections.CollectionBase
ContextPromptBoldItemCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Edit.Implementation
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class ContextPromptBoldItemCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
ContextPromptBoldItemCollection(ContextPromptItem)
Initializes a new instance of the ContextPromptBoldItemCollection class.
Declaration
public ContextPromptBoldItemCollection(ContextPromptItem parent)
Parameters
Type | Name | Description |
---|---|---|
ContextPromptItem | parent | Parent item. |
Properties
Item[Int32]
Gets or sets the item by index.
Declaration
public ContextPromptBoldTextItem this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
ContextPromptBoldTextItem |
Parent
Gets the parent item of context prompt window.
Declaration
public ContextPromptItem Parent { get; }
Property Value
Type |
---|
ContextPromptItem |
SelectedItem
Gets or sets the currently selected item in context prompt window.
Declaration
public ContextPromptBoldTextItem SelectedItem { get; set; }
Property Value
Type |
---|
ContextPromptBoldTextItem |
Methods
Add(Int32, Int32, String)
Creates a new ContextPromptBoldTextItem and adds it to the list.
Declaration
public ContextPromptBoldTextItem Add(int start, int length, string description)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | start | Start index of the bolded part in subject. |
System.Int32 | length | Length of the bolded text. |
System.String | description | Description of the bolded text. |
Returns
Type | Description |
---|---|
ContextPromptBoldTextItem | Newly created ContextPromptBoldTextItem. |
Remove(ContextPromptBoldTextItem)
Removes item from collection.
Declaration
public void Remove(ContextPromptBoldTextItem item)
Parameters
Type | Name | Description |
---|---|---|
ContextPromptBoldTextItem | item | Item to remove. |
Events
SelectionChanged
Occurs when bolded item index has changed.
Declaration
public event EventHandler SelectionChanged
Event Type
Type |
---|
System.EventHandler |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable