WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextPromptItem - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContextPromptItem

    Represents a class that implements functionalities for ContextPromptItem.

    Inheritance
    System.Object
    ContextPromptItem
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    ContextPromptBoldItemCollection

    DefaultDescription

    Gets or sets the description of the context prompt item.

    Declaration
    public string DefaultDescription { get; set; }
    Property Value
    Type Description
    System.String

    Description

    Gets the description of the currently selected text in bold.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    System.String

    Image

    Gets or sets the associated image of context prompt item.

    Declaration
    public Image Image { get; set; }
    Property Value
    Type Description
    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 Description
    System.Boolean

    Subject

    Gets or sets the subject of the context prompt item.

    Declaration
    public string Subject { get; set; }
    Property Value
    Type Description
    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 Description
    System.EventHandler

    SelectionChanged

    Occurs when Selected property changed.

    Declaration
    public event EventHandler SelectionChanged
    Event Type
    Type Description
    System.EventHandler

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved