Class ProgressBarTooltipSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ProgressBarTooltipSettingsBuilder
Namespace: Syncfusion.EJ2.ProgressBar
Assembly: Syncfusion.EJ2.dll
Syntax
public class ProgressBarTooltipSettingsBuilder : ControlBuilder
Constructors
ProgressBarTooltipSettingsBuilder()
Declaration
public ProgressBarTooltipSettingsBuilder()
ProgressBarTooltipSettingsBuilder(ProgressBarTooltipSettings)
Declaration
public ProgressBarTooltipSettingsBuilder(ProgressBarTooltipSettings model)
Parameters
Type | Name | Description |
---|---|---|
ProgressBarTooltipSettings | model |
Methods
Border(ProgressBarBorder)
Options to customize tooltip borders.
Declaration
public ProgressBarTooltipSettingsBuilder Border(ProgressBarBorder value)
Parameters
Type | Name | Description |
---|---|---|
ProgressBarBorder | value |
Returns
Border(Action<ProgressBarBorderBuilder>)
Declaration
public ProgressBarTooltipSettingsBuilder Border(Action<ProgressBarBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ProgressBarBorderBuilder> | border |
Returns
Enable(Boolean)
If set to true, tooltip will be displayed for the progress bar.
Declaration
public ProgressBarTooltipSettingsBuilder Enable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Fill(String)
The fill color of the tooltip that accepts value in hex as a valid CSS color string.
Declaration
public ProgressBarTooltipSettingsBuilder Fill(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Format(String)
Format the tooltip content. Use ${value} as the placeholder text to display the corresponding progress value.
Declaration
public ProgressBarTooltipSettingsBuilder Format(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
ShowTooltipOnHover(Boolean)
If set to true, tooltip will be displayed for the progress bar on mouse hover.
Declaration
public ProgressBarTooltipSettingsBuilder ShowTooltipOnHover(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
TextStyle(ProgressBarFont)
Options to customize the tooltip text.
Declaration
public ProgressBarTooltipSettingsBuilder TextStyle(ProgressBarFont value)
Parameters
Type | Name | Description |
---|---|---|
ProgressBarFont | value |
Returns
TextStyle(Action<ProgressBarFontBuilder>)
Declaration
public ProgressBarTooltipSettingsBuilder TextStyle(Action<ProgressBarFontBuilder> textStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ProgressBarFontBuilder> | textStyle |