Constructor IconSelector
IconSelector(string, int, int, string, Action<string>)
Construct icon selector visual element.
Declaration
public IconSelector(string name, int width, int height, string path, Action<string> onValueChanged)
Parameters
Type | Name | Description |
---|---|---|
string | name | User friendly icon name. |
int | width | Required icon image width. |
int | height | Required icon image height. |
string | path | Path to icon file or null if icon has not been set. |
Action<string> | onValueChanged | Action to be called when path to icon is changed. |