Border Class
Namespace: Stride.UI.ControlsAssembly: Stride.UI.dll
A border element adds an uniform color border around its content.
Derived from Border:
[DataContract("Border")]
public class Border : ContentControl, IUIElementUpdate, IUIElementChildren, IIdentifiable
Name | Description | |
---|---|---|
Properties | ||
BorderColor | Gets or sets the color of the border. |
|
BorderThickness | Gets or sets the thickness of the border. |
|
Methods | ||
ArrangeOverride(Vector3) | ||
MeasureOverride(Vector3) |
Properties
BorderColor
Gets or sets the color of the border.
[DataMember]
[Display(null, "Appearance")]
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BorderThickness
Gets or sets the thickness of the border.
[DataMember]
[Display(null, "Appearance")]
public Thickness BorderThickness { get; set; }
Property Value
Type | Description |
---|---|
Thickness |
Methods
ArrangeOverride(Vector3)
protected override Vector3 ArrangeOverride(Vector3 finalSizeWithoutMargins)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | finalSizeWithoutMargins |
Returns
Type | Description |
---|---|
Vector3 |
Overrides
MeasureOverride(Vector3)
protected override Vector3 MeasureOverride(Vector3 availableSizeWithoutMargins)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | availableSizeWithoutMargins |
Returns
Type | Description |
---|---|
Vector3 |