Constructors
Fields
Properties
Indexers
Methods
AddColours
#Add a series of RadioToggle options to this bar. This also sets the style to not display categories and the element height to 16.
Parameters:
| nomen (Nomen) | Nomen with '{family}' placeholders for colour family name. |
| spectrum (OpenColor.Family[]) | Spectrum of all colours to apply. |
| initial (OpenColor.Family) | Family to select. |
| assignment (Action<OpenColor.Family>) | Assignment action. |
AddCoolColours
#Add a series of RadioToggle options to this bar representing the standard cool (blue/purple) colours. This also sets the style to not display categories and the element height to 16.
Parameters:
| nomen (Nomen) | Nomen with '{family}' placeholders for colour family name. |
| initial (OpenColor.Family) | Family to select. |
| assignment (Action<OpenColor.Family>) | Assignment action. |
AddLifeColours
#Add a series of RadioToggle options to this bar representing the standard neutral (green) colours. This also sets the style to not display categories and the element height to 16.
Parameters:
| nomen (Nomen) | Nomen with '{family}' placeholders for colour family name. |
| initial (OpenColor.Family) | Family to select. |
| assignment (Action<OpenColor.Family>) | Assignment action. |
AddPushButton
#public PushButton AddPushButton(IIcon icon, Nomen nomen, Action callback = null, BarShortcut keys = null)
Add a button to this bar.
Parameters:
| icon (IIcon) | |
| nomen (Nomen) | |
| callback (Action = null) | |
| keys (BarShortcut = null) |
Returns: Button which was added.
AddRadioToggle
#public RadioToggle AddRadioToggle(IIcon icon, Nomen nomen, bool initial, Action<bool> callback = null, BarShortcut keys = null)
Add a push option to this bar.
AddSpacer
#Add a spacer to this bar.
AddSpacer
#Add a default sized spacer with optional section name.
AddTextField
#Add a text field to this bar.
AddToggle
#public RadioToggle AddToggle(Nomen nomen, bool initialState, params string[] additionalAffectedSections)
Add a narrow toggle option which enables/disables all elements that follow it with the given section names.
AddWarmColours
#Add a series of RadioToggle options to this bar representing the standard warm (red/yellow) colours. This also sets the style to not display categories and the element height to 16.
Parameters:
| nomen (Nomen) | Nomen with '{family}' placeholders for colour family name. |
| initial (OpenColor.Family) | Family to select. |
| assignment (Action<OpenColor.Family>) | Assignment action. |
Find<T>
#Find the first element of the specified type with the specified name.
Parameters:
| name (string) |