GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ContentControlListItem Class

    Namespace:
    GemBox.Document.CustomMarkups
    Assembly:
    GemBox.Document.dll

    Specifies a single list item within the parent Content Control item.

    • C#
    • VB.NET
    public class ContentControlListItem
    Public Class ContentControlListItem
    Inheritance:
    System.Object
    ContentControlListItem

    Constructors

    ContentControlListItem(String)

    Initializes a new instance of the ContentControlListItem class.

    • C#
    • VB.NET
    public ContentControlListItem(string displayName)
    Public Sub New(displayName As String)
    Parameters
    displayName
    System.String

    The text to be displayed.

    ContentControlListItem(String, String)

    Initializes a new instance of the ContentControlListItem class.

    • C#
    • VB.NET
    public ContentControlListItem(string displayName, string value)
    Public Sub New(displayName As String, value As String)
    Parameters
    displayName
    System.String

    The text to be displayed.

    value
    System.String

    The value for the list item entry.

    Properties

    DisplayName

    Gets or sets the text which will be displayed for this list item.

    • C#
    • VB.NET
    public string DisplayName { get; set; }
    Public Property DisplayName As String
    Property Value
    System.String

    The text that will be displayed for this list item.

    Value

    Gets or sets the value of the list item.

    • C#
    • VB.NET
    public string Value { get; set; }
    Public Property Value As String
    Property Value
    System.String

    The value of the list item.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.