menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IContextChoiceController - API Reference

    Show / Hide Table of Contents

    Interface IContextChoiceController

    Provides the functionality for context choice controller.

    Namespace: Syncfusion.Windows.Forms.Edit.Interfaces
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public interface IContextChoiceController

    Properties

    Dropper

    Gets or sets the dropping lexem.

    Declaration
    IRenderedLexem Dropper { get; set; }
    Property Value
    Type Description
    IRenderedLexem

    ExtendItemsFilteringString

    Gets or sets a value indicating whether autocomplete string should be extended or not.

    Declaration
    bool ExtendItemsFilteringString { get; set; }
    Property Value
    Type Description
    System.Boolean

    FormSize

    Gets or sets the size of the context choice form.

    Declaration
    Size FormSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    Images

    Gets the collection of the INamedImage items.

    Declaration
    INamedImagesCollection Images { get; }
    Property Value
    Type Description
    INamedImagesCollection

    IsVisible

    Gets a value indicating whether context choice window associated with current controller is visible or not.

    Declaration
    bool IsVisible { get; }
    Property Value
    Type Description
    System.Boolean

    Items

    Gets the collection of the context choice items.

    Declaration
    ContextChoiceItemCollection Items { get; }
    Property Value
    Type Description
    ContextChoiceItemCollection

    LexemBeforeDropper

    Gets or sets the lexem situated before dropper.

    Declaration
    IRenderedLexem LexemBeforeDropper { get; set; }
    Property Value
    Type Description
    IRenderedLexem

    SelectedItem

    Gets or sets the currently selected item.

    Declaration
    IContextChoiceItem SelectedItem { get; set; }
    Property Value
    Type Description
    IContextChoiceItem

    UseAutocomplete

    Gets or sets a value indicating whether autocomplete technique should be used with current context choice or not.

    Declaration
    bool UseAutocomplete { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AddImage(Image)

    Adds image to the internal image list.

    Declaration
    INamedImage AddImage(Image img)
    Parameters
    Type Name Description
    System.Drawing.Image img

    The image to be added.

    Returns
    Type Description
    INamedImage

    Index of the added image.

    AddImage(Image, Color)

    Adds image to the internal image list.

    Declaration
    INamedImage AddImage(Image img, Color transparent)
    Parameters
    Type Name Description
    System.Drawing.Image img

    The image to be added.

    System.Drawing.Color transparent

    Transparent color.

    Returns
    Type Description
    INamedImage

    Index of the added image.

    AddImage(String, Image)

    Adds image to the internal image list.

    Declaration
    INamedImage AddImage(string name, Image img)
    Parameters
    Type Name Description
    System.String name

    Name of the image. Must be unique.

    System.Drawing.Image img

    The image to be added.

    Returns
    Type Description
    INamedImage

    Index of the added image.

    AddImage(String, Image, Color)

    Adds image to the internal image list.

    Declaration
    INamedImage AddImage(string name, Image img, Color transparent)
    Parameters
    Type Name Description
    System.String name

    Name of the image. Must be unique.

    System.Drawing.Image img

    The image to be added.

    System.Drawing.Color transparent

    Transparent color.

    Returns
    Type Description
    INamedImage

    Index of the added image.

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