BeeMobile.WaitIndicator.AVA.NET6
11.0.0.2
dotnet add package BeeMobile.WaitIndicator.AVA.NET6 --version 11.0.0.2
NuGet\Install-Package BeeMobile.WaitIndicator.AVA.NET6 -Version 11.0.0.2
<PackageReference Include="BeeMobile.WaitIndicator.AVA.NET6" Version="11.0.0.2" />
paket add BeeMobile.WaitIndicator.AVA.NET6 --version 11.0.0.2
#r "nuget: BeeMobile.WaitIndicator.AVA.NET6, 11.0.0.2"
// Install BeeMobile.WaitIndicator.AVA.NET6 as a Cake Addin #addin nuget:?package=BeeMobile.WaitIndicator.AVA.NET6&version=11.0.0.2 // Install BeeMobile.WaitIndicator.AVA.NET6 as a Cake Tool #tool nuget:?package=BeeMobile.WaitIndicator.AVA.NET6&version=11.0.0.2
Bee Mobile Copyright (c) 2024
Bee Mobile Wait Indicator
BeeMobile.WaitIndicator.AVA.NET6 is .NET 6.0 based Avalonia Framework TemplatedControl is a piece of Graphical User Interface, which provides visual information to the user typically about a lengthy background operation taking place. Informing the user about such operation is important so that the user knows that the application is responsive.
The component is EXTREMELY easy to use. Just put it onto your screen/window/view and let it animate.
Once done, simply hide it (set IsVisble
property to False
) and you will see a result like this:
NuGet
BeeMobile.WaitIndicator.AVA.NET6 is delivered as a NuGet package.
Usage Example
Put it into your view:
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:bm="using:BeeMobile.WaitIndicator"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="480"
Width="800" Height="480"
x:Class="BeeMobile.WaitIndicator.MainWindow"
Title="BeeMobile WaitIndicator C# Sample">
<Grid RowDefinitions="*">
<StackPanel VerticalAlignment="Bottom" Orientation="Horizontal">
... - your other controls may go here
</StackPanel>
<bm:WaitIndicator x:Name="wi"
Width="100"
Height="111"
FontSize="16"
FontWeight="Bold"
Text="Loading ..."
IsVisible="True"
/>
</Grid>
</Window>
Recommended Usage
Recommended approach to using WaitIndicator
is to position it to center of your window/view/screen (container, that is) and make sure it appears on top of
any other components. You should also set Width/Height properties to some reasonable values (depending on size of its parent container).
To achieve this, make sure that it is the last control added to your container and set its IsVisible
property to False
.
You may optionally set its Text
property to some text (e.g., Loading..., Saving... or similar). Then simply change its visibility, whenever needed.
As soon as you make an instance of WaitIndicator
visible by setting its IsVisible
property to True
(which is the default),
it will start animating. Once you make WaitIndicator
invisible, the animation will also stop. Therefore, it is not necessary to remove
it from visual tree, if you plan to show it again later.
About
Brought to you by Bee Mobile. Check out other Avalonia Framework controls on Bee Mobile web site.
Visit component web-site for more information including on-line help and sample project.
VERSION HISTORY
Version: 11.0.0.2 - May 13, 2024
Update type | Description |
---|---|
NEW | This is the first release! |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Avalonia (>= 11.0.10)
- Avalonia.Desktop (>= 11.0.10)
- Avalonia.Themes.Fluent (>= 11.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
11.0.0.2 | 100 | 5/13/2024 |
The first release!