Class AttributeValueTypeExtensions
Definition
Namespace: StardewUI.Framework.Grammar
Assembly: StardewUI.dll
Extensions for the AttributeValueType enum.
Inheritance
Object ⇦ AttributeValueTypeExtensions
Members
Methods
| Name | Description |
|---|---|
| IsContextBinding(AttributeValueType) | Tests if a given valueType is any type of context binding, regardless of its direction. |
Details
Methods
IsContextBinding(AttributeValueType)
Tests if a given valueType is any type of context binding, regardless of its direction.
Parameters
valueType AttributeValueType
The value type.
Returns
true if the attribute binds to a context property; false if it is some other type of attribute such as Literal or AssetBinding.