Show / Hide Table of Contents

Class BooleanSettingDescriptor

Descriptor for a boolean toggle setting. Rendered as a checkbox.

Inheritance
object
SettingDescriptor
BooleanSettingDescriptor
Inherited Members
SettingDescriptor.Key
SettingDescriptor.DisplayName
SettingDescriptor.Description
SettingDescriptor.IconSvg
SettingDescriptor.IsVisible
SettingDescriptor.IsRequired
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Zaya.Primitives
Assembly: Zaya.Primitives.dll
Syntax
public sealed class BooleanSettingDescriptor : SettingDescriptor

Constructors

| Edit this page View Source

BooleanSettingDescriptor(string, LocalizedString)

Initializes a new instance of the BooleanSettingDescriptor class.

Declaration
public BooleanSettingDescriptor(string key, LocalizedString displayName)
Parameters
Type Name Description
string key

Machine-readable key for this setting.

LocalizedString displayName

Localizable UI label.

Properties

| Edit this page View Source

DefaultValue

Gets or sets the default boolean state.

Declaration
public bool DefaultValue { get; init; }
Property Value
Type Description
bool
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX