logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiOptionStringValue

    Represents a string value for a UI option.

    Inheritance
    object
    UiOptionValue
    UiOptionStringValue
    Implements
    IFoundationSettings
    Inherited Members
    UiOptionValue.UiElement
    UiOptionValue.Value
    UiOptionValue.Id
    UiOptionValue.Guid
    UiOptionValue.ViewId
    UiOptionValue.ToString()
    UiOptionValue.GetStringValue()
    UiOptionValue.SetValue(string)
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Domain.Entities
    Assembly: Serenity.Ui.Domain.dll
    Syntax
    public class UiOptionStringValue : UiOptionValue, IFoundationSettings

    Constructors

    UiOptionStringValue(string, string, string, UiComponentInteractionType, int)

    Initializes a new instance of the UiOptionStringValue class.

    Declaration
    public UiOptionStringValue(string id, string menuId, string value, UiComponentInteractionType uiElement, int characterLimit)
    Parameters
    Type Name Description
    string id

    The unique identifier of the option.

    string menuId

    The view identifier of the option.

    string value

    The string value of the option.

    UiComponentInteractionType uiElement

    The interaction type of the UI element.

    int characterLimit

    The character limit for the string input.

    Fields

    CharacterLimit

    The character limit for the string input.

    Declaration
    public int CharacterLimit
    Field Value
    Type Description
    int

    Implements

    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved