Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Tulesha/Avalonia.Controls.ToolBar
https://github.com/Tulesha/Avalonia.Controls.ToolBar
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/Tulesha/Avalonia.Controls.ToolBar
- Owner: Tulesha
- License: mit
- Created: 2024-02-06T06:26:04.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-27T10:15:52.000Z (10 months ago)
- Last Synced: 2024-11-03T17:47:38.834Z (about 1 month ago)
- Language: C#
- Size: 989 KB
- Stars: 35
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-avalonia - AvaloniaControlsToolBar - A ToolBar and ToolBarTray controls for Avalonia. (Libraries & Extensions / Controls)
README
# Avalonia.Controls.ToolBar
[![NuGet](https://img.shields.io/nuget/v/AvaloniaControlsToolBar)](https://www.nuget.org/packages/AvaloniaControlsToolBar) [![downloads](https://img.shields.io/nuget/dt/AvaloniaControlsToolBar)](https://www.nuget.org/packages/AvaloniaControlsToolBar)
## Description
ToolBar and ToolBarTray controls for Avalonia (port of WPF)
## ToolBar API
| Property Name | Value | Description |
|------------------|----------------|--------------------------------------------------------|
| Orientation | `Orientation` | Defines the orientation of the `ToolBar` |
| Band | `int` | Defines which group the `Toolbar` has |
| BandIndex | `int` | Defines which index in group the `ToolBar` has |
| IsOverflowOpen | `bool` | Defines whether the overflow menu `ToolBar` is open |
| HasOverflowItems | `bool` | Defines whether the `Toolbar` has overflowing elements |
| IsOverflowItem | `bool` | Defines is the `ToolBar` item overflowing |
| OverflowMode | `OverflowMode` | Defines the overflow mode of the `ToolBar` |## ToolBarTray API
| Property Name | Value | Description |
|---------------|-----------------------|-----------------------------------------------------------------------------------------|
| Background | `IBrush?` | Defines the background of `ToolBarTray` |
| Orientation | `Orientation` | Defines the orientation of the `ToolBarTray` (affect to `ToolBar.Orientation` Property) |
| IsLocked | `bool` | Defines whether the `ToolBarTray` is locked |
| ToolBars | `Collection` | Defines `Content` of `ToolBarTray` |## ToolBar.Demo
![](https://github.com/Tulesha/Avalonia.Controls.ToolBar/blob/main/.github/workflows/ToolBarSample.gif)
## ToolBarTray.Demo
![](https://github.com/Tulesha/Avalonia.Controls.ToolBar/blob/main/.github/workflows/ToolBarTraySample.gif)