Class ContextPromptItem
Represents a class that implements functionalities for ContextPromptItem.
Inheritance
System.Object
ContextPromptItem
Implements
System.IDisposable
Inherited Members
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 ContextPromptItem : IDisposable
Constructors
ContextPromptItem(ContextPromptCollection)
Initializes a new instance of the ContextPromptItem class.
Declaration
public ContextPromptItem(ContextPromptCollection parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ContextPromptCollection | parent | Parent ContextPromptCollection. |
Properties
BoldedItems
Gets the list of the bolded items.
Declaration
public ContextPromptBoldItemCollection BoldedItems { get; }
Property Value
| Type |
|---|
| ContextPromptBoldItemCollection |
DefaultDescription
Gets or sets the description of the context prompt item.
Declaration
public string DefaultDescription { get; set; }
Property Value
| Type |
|---|
| System.String |
Description
Gets the description of the currently selected text in bold.
Declaration
public string Description { get; }
Property Value
| Type |
|---|
| System.String |
Image
Gets or sets the associated image of context prompt item.
Declaration
public Image Image { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Image |
Selected
Gets or sets a value indicating whether the item is selected or not.
Declaration
public bool Selected { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Subject
Gets or sets the subject of the context prompt item.
Declaration
public string Subject { get; set; }
Property Value
| Type |
|---|
| System.String |
Methods
Dispose()
Disposes all the resources used by context prompt item.
Declaration
public void Dispose()
OnDataChanged()
Notifies about data changes.
Declaration
protected void OnDataChanged()
Events
BoldedItemSelectionChanged
Occurs when bolded item selection of the currently selected item has changed.
Declaration
public event EventHandler BoldedItemSelectionChanged
Event Type
| Type |
|---|
| System.EventHandler |
SelectionChanged
Occurs when Selected property changed.
Declaration
public event EventHandler SelectionChanged
Event Type
| Type |
|---|
| System.EventHandler |
Implements
System.IDisposable