Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timunie/tims.avalonia.samples
A collection of some sample Apps
https://github.com/timunie/tims.avalonia.samples
avalonia hacktoberfest samples
Last synced: about 2 months ago
JSON representation
A collection of some sample Apps
- Host: GitHub
- URL: https://github.com/timunie/tims.avalonia.samples
- Owner: timunie
- License: mit
- Created: 2021-11-04T19:10:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T12:49:34.000Z (over 1 year ago)
- Last Synced: 2024-10-11T14:31:13.542Z (2 months ago)
- Topics: avalonia, hacktoberfest, samples
- Language: C#
- Homepage:
- Size: 10.4 MB
- Stars: 18
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tims.Avalonia.Samples
A collection of some sample Apps----------
## Change Content based on Enum-Value
This sample was moved to a new location. Please visit:
[[Avalonia.Samples]](https://github.com/AvaloniaUI/Avalonia.Samples/tree/main/src/Avalonia.Samples/DataTemplates/IDataTemplateSample)--------
## Path Animation Sample
Shows how to animate a path dash array via `Style`
![](Img/PathAnimationSample.png)
[Source](src/PathAnimationSample)
--------
## Localization sample
This sample shows how you can use DynamicResource to translate the UI.
![image](https://user-images.githubusercontent.com/47110241/153450068-b60c3669-1898-4cbb-8e34-0bfa92f1b466.png)
![image](https://user-images.githubusercontent.com/47110241/153450147-02be74cd-e981-45ab-b1c4-0acc9646576c.png)
![image](https://user-images.githubusercontent.com/47110241/153450248-dc461b39-3634-48b5-b17d-6c15775013ad.png)
> **Note**: In the folder [_Localization_Helper](src/LocalizationSample/_Localization_Helper) you can find an Excel-File that can create the needed files for you. Check the Settings-Tab to control the output.
[Source](src/LocalizationSample)
[read more about it here](https://www.codeproject.com/Articles/5317972/Theming-and-Localization-Functionality-for-Multipl)
--------
## Animate fill level sample
We can't animate a progress bar value as it is a direct property, but we can animate the width or height of the progress bar.
![AnimateFillLevelSample](https://user-images.githubusercontent.com/47110241/166155265-c9c794f1-a0d3-453a-9fad-9fae43bc4626.png)
[Source](src/AnimateFillLevelSample)
[read more about it here](https://docs.avaloniaui.net/docs/animations/transitions)
## ChessBoard - sample
Shows how to render a chess board using the MVVM approach. Idea taken from here: https://github.com/AvaloniaUI/Avalonia/discussions/10144
![ChessBoard result](Img/ChessBoard.png)
[Source](src/ChessBoardSample)