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

Represents the financial Candlestick symbol.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public abstract class OhlcShape : Shape

Inheritance: objectOhlcShape

Derived Classes: CandlestickOhlcStick

Constructors

Initializes a new instance of the OhlcShape class.

C#
protected OhlcShape()

Fields

DownStrokeProperty

DependencyProperty

Identifies the DownStroke dependency property.

C#
public static readonly DependencyProperty DownStrokeProperty

UpStrokeProperty

DependencyProperty

Identifies the UpStroke dependency property.

C#
public static readonly DependencyProperty UpStrokeProperty

Properties

Gets the data point this shape is representing.

C#
public OhlcDataPoint DataPoint { get; }
Property Value:

The data point.

Gets a value that represents the Geometry of the Shape.

C#
protected override Geometry DefiningGeometry { get; }
Property Value:

The Geometry of the Shape.

Gets or sets the stroke of the candlestick for down (falling) items.

C#
public Brush DownStroke { get; set; }
Property Value:

The stroke.

Gets or sets the stroke of the candlestick for up (rising) items.

C#
public Brush UpStroke { get; set; }
Property Value:

The stroke.

Methods

Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.

The size of the part of the element that does visual presentation. The clipping geometry.
C#
protected override Geometry GetLayoutClip(Size layoutSlotSize)
Parameters:layoutSlotSizeSizeReturns:

Geometry

C#
protected virtual void UpdateElementAppearance()

Chooses for this shape.

C#
protected void UpdateOhlcElementStroke()