Class RVTooltipItem
This class represents a tooltip item that is shown when the user hovers over a chart.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Reveal.Sdk
Assembly: Reveal.UI.Sdk.dll
Syntax
public class RVTooltipItem : RVMenuItemBase
Constructors
RVTooltipItem(String, String, RVImage, Action<RVTooltipItem, TooltipItemClickEventArgs>)
Initializes a new instance of the RVTooltipItem class.
Declaration
public RVTooltipItem(string group, string title, RVImage icon, Action<RVTooltipItem, TooltipItemClickEventArgs> click)
Parameters
Type | Name | Description |
---|---|---|
System.String | group | Group header that appears above the menu options. |
System.String | title | Title of the menu option. |
RVImage | icon | Icon shown to the left of the menu label. |
System.Action<RVTooltipItem, TooltipItemClickEventArgs> | click | Action to be executed when the menu option is clicked. |
Properties
Click
Event fired when the user clicks on a custom tooltip item.
Declaration
public Action<RVTooltipItem, TooltipItemClickEventArgs> Click { get; set; }
Property Value
Type | Description |
---|---|
System.Action<RVTooltipItem, TooltipItemClickEventArgs> |
Examples
private void RevealView_TooltipClick(object sender, TooltipItemClickEventArgs e)
{
TODO: Add something meaningful...
}
Group
Gets or sets the group header that appears above the menu options.
Declaration
public string Group { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
OnClick(TooltipItemClickEventArgs)
Declaration
public void OnClick(TooltipItemClickEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TooltipItemClickEventArgs | args |