New to Telerik UI for WinFormsStart a free 30-day trial

Represents the active region of the chart element/item.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

C#
[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

Creates a new instance of the class.

C#
public ActiveRegion()

Creates a new instance of the class.

C#
public ActiveRegion(object parent)
Parameters:parentobject

Properties

Attributes

C#
public string Attributes { get; set; }

Reference to the parent.

C#
[Browsable(false)]
public object Parent { get; set; }

Define a graphic path

C#
[Browsable(false)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public GraphicsPath Region { get; set; }

Tooltip

C#
public string Tooltip { get; set; }

URL

C#
public string Url { get; set; }

Methods

Checks whether point lies inside region

C#
public bool CheckPoint(PointF point, bool onclick)
Parameters:pointPointF

The point.

onclickbool

if set to true [onclick].

Returns:

bool

Checks whether point lies inside region

C#
public bool CheckPoint(PointF point)
Parameters:pointPointF

The point.

Returns:

bool

Opens a web browser to the specified URL

C#
public void GoToUrl()

Returns true if ActiveRegion contains no data

C#
public bool IsEmpty()
Returns:

bool

Events

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

C#
public event RegionClickEventHandler Click