Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ToolTipAttribute.cs
1
using
System;
2
3
namespace
Waher.Things.Attributes
4
{
8
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple =
false
, Inherited =
true
)]
9
public
class
ToolTipAttribute
: Attribute
10
{
11
private
readonly
int
stringId;
12
private
readonly
string
tooltip;
13
18
public
ToolTipAttribute
(
string
ToolTip
)
19
: this(0,
ToolTip
)
20
{
21
}
22
28
public
ToolTipAttribute
(
int
StringId
,
string
ToolTip
)
29
{
30
this.stringId =
StringId
;
31
this.tooltip =
ToolTip
;
32
}
33
37
public
int
StringId
=> this.stringId;
38
42
public
string
ToolTip
=> this.tooltip;
43
}
44
}
Waher.Things.Attributes.ToolTipAttribute
Defines a localizable tooltip string for the property.
Definition:
ToolTipAttribute.cs:10
Waher.Things.Attributes.ToolTipAttribute.ToolTipAttribute
ToolTipAttribute(string ToolTip)
Defines a tooltip string for the property.
Definition:
ToolTipAttribute.cs:18
Waher.Things.Attributes.ToolTipAttribute.StringId
int StringId
String ID in the namespace of the current class, in the default language defined for the class.
Definition:
ToolTipAttribute.cs:37
Waher.Things.Attributes.ToolTipAttribute.ToolTipAttribute
ToolTipAttribute(int StringId, string ToolTip)
Defines a localizable tooltip string for the property.
Definition:
ToolTipAttribute.cs:28
Waher.Things.Attributes.ToolTipAttribute.ToolTip
string ToolTip
Default tooltip string, in the default language defined for the class.
Definition:
ToolTipAttribute.cs:42
Waher.Things.Attributes
Definition:
AlphaChannelAttribute.cs:4
IoTGateway
Things
Waher.Things
Attributes
ToolTipAttribute.cs
Generated by
1.9.5