Class IgbSliceEventArgs
Contains PieChart click event data.
Inheritance
System.Object
IgbSliceEventArgs
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbSliceEventArgs : BaseRendererElement, JsonSerializable
Constructors
IgbSliceEventArgs()
Declaration
public IgbSliceEventArgs()
Properties
Bounds
Gets the bounds of the slice.
Declaration
public Rect Bounds { get; protected set; }
Property Value
DataContext
Gets the slice data context.
Declaration
public object DataContext { get; protected set; }
Property Value
| Type |
Description |
| System.Object |
|
DataContextScript
Provides a means of setting DataContext in the JavaScript environment.
Declaration
public string DataContextScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
EndAngle
Gets the end angle of the slice.
Declaration
public double EndAngle { get; protected set; }
Property Value
| Type |
Description |
| System.Double |
|
Fill
Gets the fill color of the slice.
Declaration
public string Fill { get; protected set; }
Property Value
| Type |
Description |
| System.String |
|
Index
Gets the index of the slice that was clicked.
Declaration
public int Index { get; protected set; }
Property Value
| Type |
Description |
| System.Int32 |
|
IsExploded
Gets or sets whether the slice is exploded.
Declaration
public bool IsExploded { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Gets whether the current slice is part of the others slice.
Declaration
public bool IsOthersSlice { get; protected set; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsSelected
Gets or sets whether the slice is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Origin
Gets the origin location of the slice.
Declaration
public Point Origin { get; protected set; }
Property Value
OriginalEvent
Holds a reference to the original event that triggered slice click.
Declaration
public object OriginalEvent { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
OriginalEventScript
Provides a means of setting OriginalEvent in the JavaScript environment.
Declaration
public string OriginalEventScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Outline
Gets the outline color of the slice.
Declaration
public string Outline { get; protected set; }
Property Value
| Type |
Description |
| System.String |
|
Position
Declaration
public Point Position { get; set; }
Property Value
Radius
Gets the radius of the slice.
Declaration
public double Radius { get; protected set; }
Property Value
| Type |
Description |
| System.Double |
|
StartAngle
Gets the start angle of the slice.
Declaration
public double StartAngle { get; protected set; }
Property Value
| Type |
Description |
| System.Double |
|
Type
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Methods
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
FromEventJson(BaseRendererControl, Dictionary<String, Object>)
Declaration
protected override void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
| Type |
Name |
Description |
| BaseRendererControl |
control |
|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
args |
|
Overrides
ToEventJson(BaseRendererControl, Dictionary<String, Object>)
Declaration
protected override void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)
Parameters
| Type |
Name |
Description |
| BaseRendererControl |
control |
|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
args |
|
Overrides
Implements