menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextPromptUpdateEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContextPromptUpdateEventArgs

    Provides data for the ContextPromptOpen and ContextPromptUpdate events of the EditControl control.

    Inheritance
    System.Object
    System.EventArgs
    ContextPromptUpdateEventArgs
    ContextPromptCloseEventArgs
    Inherited Members
    System.EventArgs.Empty
    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
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class ContextPromptUpdateEventArgs : EventArgs

    Constructors

    ContextPromptUpdateEventArgs(ContextPromptCollection, IRenderedLexem, IRenderedLexem)

    Initializes a new instance of ContextPromptUpdateEventArgs class.

    Declaration
    public ContextPromptUpdateEventArgs(ContextPromptCollection list, IRenderedLexem droppingLexem, IRenderedLexem lexemBeforeDropper)
    Parameters
    Type Name Description
    ContextPromptCollection list
    IRenderedLexem droppingLexem
    IRenderedLexem lexemBeforeDropper

    Properties

    CloseForm

    Gets or sets a value indicating whether form should be closed.

    Declaration
    public bool CloseForm { get; set; }
    Property Value
    Type
    System.Boolean

    Dropper

    Gets the dropping lexem.

    Declaration
    public IRenderedLexem Dropper { get; }
    Property Value
    Type
    IRenderedLexem

    LexemBeforeDropper

    Gets lexem situated before dropper (doesn't include whitespace and new lines marks).

    Declaration
    public IRenderedLexem LexemBeforeDropper { get; }
    Property Value
    Type
    IRenderedLexem

    List

    Gets the collection of dictionary items.

    Declaration
    public ContextPromptCollection List { get; }
    Property Value
    Type
    ContextPromptCollection

    Methods

    AddPrompt(String, String)

    Helps to adds a new prompt to the list of the prompts.

    Declaration
    public ContextPromptItem AddPrompt(string textInBold, string textDescription)
    Parameters
    Type Name Description
    System.String textInBold

    Text that will be shown in bold on the header line.

    System.String textDescription

    Description text.

    Returns
    Type
    ContextPromptItem

    AddPrompt(String, String, Image)

    Helps to adds a new prompt to the list of the prompts.

    Declaration
    public ContextPromptItem AddPrompt(string textInBold, string textDescription, Image image)
    Parameters
    Type Name Description
    System.String textInBold

    Text that will be shown in bold on the header line.

    System.String textDescription

    Description text.

    System.Drawing.Image image

    Associated image.

    Returns
    Type
    ContextPromptItem
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved