ControlBase
Summary
Represents the base of chart controls.
Signature
1 | |
Namespace
cAlgo.API
Methods
ResetProperty
Summary
Sets the property to the default value and removes its privelege over the style.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| property | ControlProperty | Control Property |
Return Value
void
Accept
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| visitor | IChartControlVisitor |
Return Value
void
Attach
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| notifyProvider | IChartControlNotifyProvider |
Return Value
void
Detach
Signature
1 | |
Return Value
void
RaiseModified
Signature
1 | |
Return Value
void
RegisterProperty
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| property | ControlProperty | |
| defaultValue | T |
Return Value
ControlDependencyProperty
OverridePropertyDefaultValue
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| property | ControlProperty | |
| defaultValue | T |
Return Value
void
TrySetChildControl
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| childControl | ControlBase& | |
| value | ControlBase |
Return Value
void
SetDefaultValues
Signature
1 | |
Return Value
void
ChangeToZeroIfNegative
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| value | double |
Return Value
double
Properties
UniqueId
Summary
Gets the unique identifier of a chart control.
Signature
1 | |
Return Value
Guid
Style
Summary
Gets or sets the style of a chart control.
Signature
1 | |
Return Value
Style
Related Tutorials
Left
Summary
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.
Signature
1 | |
Return Value
double
Top
Summary
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.
Signature
1 | |
Return Value
double
Right
Summary
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.
Signature
1 | |
Return Value
double
Bottom
Summary
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.
Signature
1 | |
Return Value
double
Width
Summary
Gets or sets the width of the chart control.
Signature
1 | |
Return Value
double
Height
Summary
Gets or sets the hight of the chart control.
Signature
1 | |
Return Value
double
MinWidth
Summary
Gets or sets the minimum width of the chart control.
Signature
1 | |
Return Value
double
MinHeight
Summary
Gets or sets the minimum height of the chart control.
Signature
1 | |
Return Value
double
MaxWidth
Summary
Gets or sets the maximum width of the chart control.
Signature
1 | |
Return Value
double
MaxHeight
Summary
Gets or sets the maximum height of the chart control.
Signature
1 | |
Return Value
double
IsEnabled
Summary
Gets or sets the value indicating whether this instance of the chart control is enabled.
Signature
1 | |
Return Value
bool
IsVisible
Summary
Gets or sets the value indicating whether this instance of the chart control instance is visible.
Signature
1 | |
Return Value
bool
Opacity
Summary
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.
Signature
1 | |
Return Value
double
Margin
Summary
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".
Signature
1 | |
Return Value
Thickness
VerticalAlignment
Summary
Gets or sets the vertical alignment of the chart control instance.
Signature
1 | |
Return Value
VerticalAlignment
HorizontalAlignment
Summary
Gets or sets the horizontal alignment of the chart control instance.
Signature
1 | |
Return Value
HorizontalAlignment
Dock
Summary
Specifies the dock position of the chart control instance. Works only inside the DockPanel.
Signature
1 | |
Return Value
Dock
Related Tutorials
IsHitTestVisible
Summary
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.
Signature
1 | |
Return Value
bool