Skip to content

ControlBase

Summary

Represents the base of chart controls.

Signature

1
public abstract class ControlBase

Namespace

cAlgo.API

Methods

Name Description
ResetProperty Sets the property to the default value and removes its privelege over the style.

Properties

Name Description
UniqueId { get; } Gets the unique identifier of a chart control.
Style { get; set; } Gets or sets the style of a chart control.
Left { get; set; } Gets or sets the position of the chart control to the left side of the chart area. Works only when the control isinside the Canvas panel.
Top { get; set; } Gets or sets the position of the chart control to the top of the chart area. Works only when the control is insidethe Canvas panel.
Right { get; set; } Gets or sets the position of the chart control to the rignt side of the chart area. Works only when the control isinside the Canvas panel.
Bottom { get; set; } Gets or sets the position of the chart control to the bottom of the chart area. Works only when the control isinside the Canvas panel.
Width { get; set; } Gets or sets the width of the chart control.
Height { get; set; } Gets or sets the hight of the chart control.
MinWidth { get; set; } Gets or sets the minimum width of the chart control.
MinHeight { get; set; } Gets or sets the minimum height of the chart control.
MaxWidth { get; set; } Gets or sets the maximum width of the chart control.
MaxHeight { get; set; } Gets or sets the maximum height of the chart control.
IsEnabled { get; set; } Gets or sets the value indicating whether this instance of the chart control is enabled.
IsVisible { get; set; } Gets or sets the value indicating whether this instance of the chart control instance is visible.
Opacity { get; set; } Gets or sets the level of opacity of the chart control instance. Can be set from 0 (transparent) to 1 (opaque).Values higher than 1 will be set to 1, values below 0 will be set to 0.
Margin { get; set; } Gets or sets the level of thickness of the margin of the chart control instance. Property value can be set usingThickness, number, or a string new Thickness(5), new Thickness(1, 2, 3, 4), 5, "5", "1 2 3 4".
VerticalAlignment { get; set; } Gets or sets the vertical alignment of the chart control instance.
HorizontalAlignment { get; set; } Gets or sets the horizontal alignment of the chart control instance.
Dock { get; set; } Specifies the dock position of the chart control instance. Works only inside the DockPanel.
IsHitTestVisible { get; set; } Gets or sets a value that declares if the chart control instance is visible for the mouse hit testing. If set tofalse, then the control will not handle any mouse events.

Last update: July 1, 2022

Comments