Class GraphicKeyTip
A description of a keyboard/mouse shortcut that can be displayed in a GraphicControl.
Namespace: ABB.Robotics.RobotStudio.Stations.Forms
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public class GraphicKeyTip
Constructors
GraphicKeyTip(String, IEnumerable<IEnumerable<Keys>>)
Creates a new GraphicKeyTip with multiple key combinations.
Declaration
public GraphicKeyTip(string text, IEnumerable<IEnumerable<Keys>> keyGroups)
Parameters
Type | Name | Description |
---|---|---|
String | text | Text to display in the tip. |
IEnumerable<IEnumerable<Keys>> | keyGroups | The keyboard/mouse combinations to display in the tip. |
GraphicKeyTip(String, Keys[])
Creates a new GraphicKeyTip with a single key combination.
Declaration
public GraphicKeyTip(string text, params Keys[] keys)
Parameters
Type | Name | Description |
---|---|---|
String | text | Text to display in the tip. |
Keys[] | keys | The keyboard/mouse combination to display in the tip. |
Properties
KeyGroups
Gets the keyboard and mouse combinations to display in the tip.
Declaration
public IEnumerable<IEnumerable<Keys>> KeyGroups { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IEnumerable<Keys>> |
Tag
Gets or sets a user defined tag for the tip.
Declaration
public string Tag { get; set; }
Property Value
Type | Description |
---|---|
String |
Text
Gets the text to display in the tip.
Declaration
public string Text { get; }
Property Value
Type | Description |
---|---|
String |
Visible
Gets or sets if the tip is visible.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Events
VisibleChanged
Raised when Visible has changed.
Declaration
public event EventHandler VisibleChanged
Event Type
Type | Description |
---|---|
EventHandler |