Class ContextPromptBoldItemCollection
Represents a class that contains ContextPromptBoldItemCollection.
Inheritance
System.Object
ContextPromptBoldItemCollection
Namespace: Syncfusion.Windows.Forms.Edit.Implementation
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class ContextPromptBoldItemCollection : CollectionBase
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 |