A connection status controller for WPF based on the Cortana UI and animations
- .Net Framework 4.7.2 or higher
- Install the package via NuGet
Install-Package ConnectionStatus
- Add a reference to the library in your view
xmlns:connectionstatus="clr-namespace:ConnectionStatus;assembly=ConnectionStatus"
- Add controller to your view:
<connectionstatus:CortanaControl Margin="12" Width="100" Height="100"/>
- Declare a public property named
ConnectionStatus
of typeConnectionStatus.ConnectionStatus
and set its value toDisconnected
,Connecting
,Verifying
orConnected
(check demo for a working example).
If you like this, give it a * please.