Class IgbRating
Rating provides insight regarding others' opinions and experiences,
and can allow the user to submit a rating of their own
@cssproperty --symbol-size - The size of the symbols.
@cssproperty --symbol-full-color - The color of the filled symbol.
@cssproperty --symbol-empty-color - The color of the empty symbol.
@cssproperty --symbol-full-filter - The filter(s) used for the filled symbol.
@cssproperty --symbol-empty-filter - The filter(s) used for the empty symbol.
Inheritance
System.Object
IgbRating
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbRating : BaseRendererControl, JsonSerializable
Constructors
IgbRating()
Declaration
Properties
Change
Declaration
public EventCallback<IgbNumberEventArgs> Change { get; set; }
Property Value
ChangeScript
Declaration
public string ChangeScript { get; set; }
Property Value
Type |
Description |
System.String |
|
DirectRenderElementName
Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Disabled
Sets the disabled state of the component
Declaration
public bool Disabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Hover
Declaration
public EventCallback<IgbNumberEventArgs> Hover { get; set; }
Property Value
HoverPreview
Sets hover preview behavior for the component
Declaration
public bool HoverPreview { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
HoverScript
Declaration
public string HoverScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Label
The label of the control.
Declaration
public string Label { get; set; }
Property Value
Type |
Description |
System.String |
|
Max
The maximum value for the rating
Declaration
public double Max { get; set; }
Property Value
Type |
Description |
System.Double |
|
Readonly
Sets the readonly state of the component
Declaration
public bool Readonly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Single
Toggles single selection visual mode.
Declaration
public bool Single { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Size
Declaration
public SizableComponentSize Size { get; set; }
Property Value
Step
The minimum value change allowed.
Declaration
public double Step { get; set; }
Property Value
Type |
Description |
System.Double |
|
SupportsVisualChildren
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
UseDirectRender
Declaration
protected override bool UseDirectRender { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Value
The current value of the component
Declaration
public double Value { get; set; }
Property Value
Type |
Description |
System.Double |
|
A format string which sets aria-valuetext. All instances of '{0}' will be replaced
with the current value of the control.
Important for screen-readers and useful for localization.
Declaration
public string ValueFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
EnsureModulesLoaded()
Declaration
protected override void EnsureModulesLoaded()
Overrides
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
ResolveDisplay()
Declaration
protected override string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
Overrides
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
StepDown(Double)
Declaration
public void StepDown(double n)
Parameters
Type |
Name |
Description |
System.Double |
n |
|
StepDownAsync(Double)
Decrements the value of the control by n
steps multiplied by
the step factor.
Declaration
public Task StepDownAsync(double n)
Parameters
Type |
Name |
Description |
System.Double |
n |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
StepUp(Double)
Declaration
public void StepUp(double n)
Parameters
Type |
Name |
Description |
System.Double |
n |
|
StepUpAsync(Double)
Increments the value of the control by n
steps multiplied by the
step factor.
Declaration
public Task StepUpAsync(double n)
Parameters
Type |
Name |
Description |
System.Double |
n |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable