Class LangSettingHeaderAttribute
Displays a large header over a settings element. Useful for grouping elements together
It also uses GetString(string, string, string) to translate it
Implements
Inherited Members
Namespace: WeaverCore.Settings
Assembly: WeaverCore.dll
Syntax
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class LangSettingHeaderAttribute : SettingHeaderAttribute_BASE, _Attribute
Constructors
| Edit this page View SourceLangSettingHeaderAttribute(string, string)
Declaration
public LangSettingHeaderAttribute(string key, string fallback = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
string | fallback |
LangSettingHeaderAttribute(string, string, string)
Applies a header to the settings property
Declaration
public LangSettingHeaderAttribute(string sheetTitle, string key, string fallback = null)
Parameters
Type | Name | Description |
---|---|---|
string | sheetTitle | |
string | key | |
string | fallback |