Class
ActiveRegion

Represents the active region of the chart element/item.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ActiveRegion : StateManagedObject, IChartingStateManagedItem, IChartingStateManager

Inheritance: objectStateManagedObjectActiveRegion

Implements: IChartingStateManagedItemIChartingStateManager

Inherited Members StateManagedObject.CloneState()StateManagedObject.SaveViewState()StateManagedObject.TrackViewState()StateManagedObject.LoadViewState(object)StateManagedObject.SetDirty()StateManagedObject.ViewStateIgnoresCase

Constructors

ActiveRegion()

Creates a new instance of the class.

Declaration

cs-api-definition
public ActiveRegion()

ActiveRegion(object)

Creates a new instance of the class.

Declaration

cs-api-definition
public ActiveRegion(object parent)

Parameters

parent

object

Properties

Attributes

Attributes

Declaration

cs-api-definition
public string Attributes { get; set; }

Property Value

string

Parent

Reference to the parent.

Declaration

cs-api-definition
[Browsable(false)]
public object Parent { get; set; }

Property Value

object

Region

Define a graphic path

Declaration

cs-api-definition
[Browsable(false)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public GraphicsPath Region { get; set; }

Property Value

GraphicsPath

Tooltip

Tooltip

Declaration

cs-api-definition
public string Tooltip { get; set; }

Property Value

string

Url

URL

Declaration

cs-api-definition
public string Url { get; set; }

Property Value

string

Methods

CheckPoint(PointF)

Checks whether point lies inside region

Declaration

cs-api-definition
public bool CheckPoint(PointF point)

Parameters

point

PointF

The point.

Returns

bool

CheckPoint(PointF, bool)

Checks whether point lies inside region

Declaration

cs-api-definition
public bool CheckPoint(PointF point, bool onclick)

Parameters

point

PointF

The point.

onclick

bool

if set to true [onclick].

Returns

bool

GoToUrl()

Opens a web browser to the specified URL

Declaration

cs-api-definition
public void GoToUrl()

IsEmpty()

Returns true if ActiveRegion contains no data

Declaration

cs-api-definition
public bool IsEmpty()

Returns

bool

Events

Click

Fires when the chart element to which the active region belongs is clicked.

Declaration

cs-api-definition
public event RegionClickEventHandler Click

Event Value

RegionClickEventHandler