Border
ClassFor examples and usage details, see the component documentation.
View Border ComponentNamespace:
RazorConsole.ComponentsAssembly:
RazorConsole.CoreDefinition
public class Border : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderConstructors
1| Name | Type | Description |
|---|---|---|
Border() | Constructor | — |
Properties
4| Name | Type | Description |
|---|---|---|
Appearance | ||
BorderColor | Nullable<Color> | Color of the border. If null , uses default console color. |
BoxBorder | BoxBorder | Style of the border. Default is Rounded. See BoxBorder for available styles. |
Common | ||
ChildContent | RenderFragment | Renders a simple border around content without a title (simplified wrapper for Panel). |
Other | ||
Padding | Padding | Padding inside the border as (left, top, right, bottom). Default is (0, 0, 0, 0). |
Methods
1| Name | Type | Description |
|---|---|---|
BuildRenderTree(RenderTreeBuilder)() | Method | — |