Show / Hide Table of Contents

Class IgbSliceEventArgs

Contains PieChart click event data.

Inheritance
System.Object
BaseRendererElement
IgbSliceEventArgs
Implements
JsonSerializable
Inherited Members
BaseRendererElement._name
BaseRendererElement.eventCallbacksCache
BaseRendererElement._cachedSerializedContent
BaseRendererElement.EnsureModulesLoaded()
BaseRendererElement.BuildRenderTree(RenderTreeBuilder)
BaseRendererElement.OnElementNameChanged(BaseRendererElement, String, String)
BaseRendererElement.InvokeMethod(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodSync(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelper(String, String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelperSync(String, String, Object[], String[], ElementReference[])
BaseRendererElement.IsPropDirty(String)
BaseRendererElement.Serialize(SerializationContext, String)
BaseRendererElement.Serialize()
BaseRendererElement.EnsureValid()
BaseRendererElement.SetResourceStringAsync(String, String, String)
BaseRendererElement.SetResourceStringAsync(String, String)
BaseRendererElement.CompareEventCallbacks<T>(T, T, Dictionary<Type, Dictionary<String, FieldInfo>>)
BaseRendererElement.IgBlazor
BaseRendererElement.IsComponentRooted
BaseRendererElement.ParentTypeName
BaseRendererElement.UseDirectRender
BaseRendererElement.ChildContent
BaseRendererElement.SupportsVisualChildren
BaseRendererElement.Name
BaseRendererElement.Parent
BaseRendererElement.MethodTarget
BaseRendererElement.CurrParent
Namespace: IgniteUI.Blazor.Controls
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
Type Description
Rect

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

IsOthersSlice

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
Type Description
Point

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
Type Description
Point

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
BaseRendererElement.Type

Methods

FindByName(String)

Declaration
public override object FindByName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Object
Overrides
BaseRendererElement.FindByName(String)

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
BaseRendererElement.FromEventJson(BaseRendererControl, Dictionary<String, Object>)

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
BaseRendererElement.ToEventJson(BaseRendererControl, Dictionary<String, Object>)

Implements

JsonSerializable