menu

WinForms

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

    Show / Hide Table of Contents

    Class ContextPromptBoldItemCollection

    Represents a class that contains ContextPromptBoldItemCollection.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    ContextPromptBoldItemCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    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 ContextPromptBoldItemCollection : CollectionBase, IList, ICollection, IEnumerable

    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

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved