Class HelpAttribute
A PropertyAttribute for showing a collapsible Help section.
Implements
PropertyAttribute
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public class HelpAttribute : PropertyAttribute, PropertyAttribute
Constructors
HelpAttribute(String, String, Boolean)
Constructor
Declaration
public HelpAttribute(string helpText, string helpHeader = "Help", bool collapsible = true)
Parameters
Type | Name | Description |
---|---|---|
String | helpText | The help text to display |
String | helpHeader | The help header foldout text |
Boolean | collapsible | If true, this help drawer will be collapsible |
HelpAttribute(String, String, Boolean)
Constructor
Declaration
public HelpAttribute(string helpText, string helpHeader = "Help", bool collapsible = true)
Parameters
Type | Name | Description |
---|---|---|
String | helpText | The help text to display |
String | helpHeader | The help header foldout text |
Boolean | collapsible | If true, this help drawer will be collapsible |
Fields
Collapsible
If true, this will be a collapsible help section. Defaults to true.
Declaration
public bool Collapsible
Field Value
Type | Description |
---|---|
Boolean |
Collapsible
If true, this will be a collapsible help section. Defaults to true.
Declaration
public bool Collapsible
Field Value
Type | Description |
---|---|
Boolean |
Header
The help header foldout text
Declaration
public string Header
Field Value
Type | Description |
---|---|
String |
Remarks
If Collapsible is false, then this header text will not be shown.
Header
The help header foldout text
Declaration
public string Header
Field Value
Type | Description |
---|---|
String |
Remarks
If Collapsible is false, then this header text will not be shown.
Text
The help text
Declaration
public string Text
Field Value
Type | Description |
---|---|
String |
Text
The help text
Declaration
public string Text
Field Value
Type | Description |
---|---|
String |
Implements
PropertyAttribute