Panel
Summary
Provides a base class for all Panel elements. Use Panel elements to position and arrange child objects.
Signature
1 | |
Namespace
cAlgo.API
Methods
AddChild
Summary
Adds the child element.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| child | ControlBase | The child. |
Return Value
void
RemoveChild
Summary
Removes the child element.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| child | ControlBase | The child. |
Return Value
void
HasChild
Summary
Returns True if panel has passed child otherwise false.
Remarks
Use this method for child lookup instead of slow Linq Contains against Children property.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| child | ControlBase | Child control |
Return Value
bool
Properties
BackgroundColor
Summary
Gets or sets the color of the panel background.
Signature
1 | |
Return Value
Color
Children
Summary
Gets panel children.
Signature
1 | |
Return Value
IEnumerable
ChildCount
Summary
Gets count of panel children.
Signature
1 | |
Return Value
int