Skip to content

docs(Badge): Add Inline Position #2935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion components/badge/position.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The Position parameter accepts a member of the BadgePosition enum and controls t
| Enum member | Description |
|---------------|--------|
| `Edge` <br /> (default) | The center of the Badge is at a corner of the parent container. |
| `Inline` | The Badge renders as part of the normal content flow of the web page. The `HorizontalAlign` and `VerticalAlign` parameters have no effect with `Inline` `Position`. |
| `Inside` | The Badge renders entirely inside the parent container. |
| `Outside` | The Badge renders entirely outside the parent container. |

Expand Down Expand Up @@ -85,6 +86,7 @@ The following example lets you experiment with the available settings that contr
private List<BadgePosition> Positions { get; set; } = new List<BadgePosition>()
{
BadgePosition.Edge,
BadgePosition.Inline,
BadgePosition.Inside,
BadgePosition.Outside
};
Expand All @@ -107,4 +109,4 @@ The following example lets you experiment with the available settings that contr

## See Also

* [Live Demo: Badge Position](https://demos.telerik.com/blazor-ui/badge/position)
* [Live Demo: Badge Position](https://demos.telerik.com/blazor-ui/badge/position)
Loading