Show / Hide Table of Contents

Class EventProperty.Toggle

EventProperty class for the Toggle property.

Inheritance
Object
Element
EventProperty
EventProperty.Toggle
Implements
IValidatable
Inherited Members
EventProperty.Name
EventProperty.nameRequired
EventProperty.XSpecified
EventProperty.Row
EventProperty.Logic
EventProperty.Event
EventProperty.OnEdit()
EventProperty.CopyAttributes(EventProperty)
EventProperty.Validate(String)
EventProperty.ToString()
EventProperty.X
Element.Validate()
Element.MissingElement(String, String)
Element.MissingAttribute(String, String)
Element.InvalidData(String, String)
Element.Warn(String, String)
Element.LineNumber
Element.LinePosition
Element.AttributesUsed
Element.ElementsUsed
Element.FileName
Namespace: Modding
Assembly: Assembly-CSharp.dll
Syntax
public class Toggle : EventProperty, IValidatable

Constructors

Toggle()

Declaration
public Toggle()

Fields

Default

Corresponds to the default XML attribute.

Declaration
public bool Default
Field Value
Type Description
Boolean

DefaultSpecified

Whether a default attribute was specified.

Declaration
public bool DefaultSpecified
Field Value
Type Description
Boolean

Icon

The Icon resource used.

Declaration
public ModTexture Icon
Field Value
Type Description
ModTexture

IconReference

A reference to the Icon specified for the toggle.

Declaration
[RequireToValidate]
public ResourceReference IconReference
Field Value
Type Description
ResourceReference

Properties

Value

Current value of the toggle.

Declaration
public bool Value { get; set; }
Property Value
Type Description
Boolean

Implements

IValidatable
Back to top Generated by DocFX