AntWpf 1.0.5

dotnet add package AntWpf --version 1.0.5
                    
NuGet\Install-Package AntWpf -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AntWpf" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AntWpf" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="AntWpf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AntWpf --version 1.0.5
                    
#r "nuget: AntWpf, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AntWpf@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AntWpf&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=AntWpf&version=1.0.5
                    
Install as a Cake Tool

AntWpf

A UI framework using ant design language to help developers build their own WPF applications.

Under development, not suitable for production environment

GETTING STARTED

<Application ...>
  <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/AntWpf;component/Styles/Theme.xaml" />
                <ResourceDictionary Source="pack://application:,,,/AntWpf;component/Styles/Controls.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Buttons

Buttons

    xmlns:Ant="clr-namespace:AntWpf.Controls;assembly=AntWpf"

    <WrapPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
        <Ant:Button Type="Primary" Margin="10,0" Content="Button1"/>
        <Ant:Button Type="Primary" Shape="Circle" Icon="search" Margin="10,0" />
        <Ant:Button Type="Dashed" Margin="10,0" Content="Button2"/>
        <Ant:Button Type="Danger" Margin="10,0" Content="Button3"/>
        <Ant:Button Type="Primary" Margin="10,10" Loading="True" Content="Loading"/>
        <Ant:Button Type="Primary" Shape="Circle"  Margin="10,10" Loading="True" />
    </WrapPanel>

Inputs

Inputs

    xmlns:Ant="clr-namespace:AntWpf.Controls;assembly=AntWpf"

    <StackPanel Grid.Row="1" VerticalAlignment="Center" MinWidth="300"  HorizontalAlignment="Center">
      <TextBox Ant:Input.Placeholder="Place holder" Margin="0,10"/>
      <PasswordBox Ant:Input.Placeholder="PassworBox" Ant:Input.Eyeable="True"/>
      <ComboBox Margin="0,10" >
       <ComboBoxItem Content="Itemm 1"/>
       <ComboBoxItem Content="Itemm 3"/>
       <ComboBoxItem Content="Itemm 4"/>
     </ComboBox>
    </StackPanel>

CheckBoxes & RadioButtons

Inputs

  <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" MinWidth="300"  HorizontalAlignment="Center">
    <CheckBox Margin="5,0" Content="Checked" IsChecked="True"/>
    <CheckBox Margin="5,0" Content="UnChecked"/>
    <CheckBox Margin="5,0" Content="Disabled" IsEnabled="False"/>
</StackPanel>
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" MinWidth="300" Margin="0,12" HorizontalAlignment="Center">
    <Ant:Switch Margin="5,0" UnCheckedContent="0" Content="1" IsChecked="True"/>
    <Ant:Switch Margin="5,0" UnCheckedContent="UnChecked" IsChecked="True" Content="Checked"/>
    <Ant:Switch Margin="5,0" IsEnabled="False"/>
    <Ant:Switch Margin="5,0"  IsChecked="True"  Loading="True"/>
</StackPanel>
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" MinWidth="300" Margin="0,12" HorizontalAlignment="Center">
    <RadioButton Margin="5,0" GroupName="0" Content="Checked" IsChecked="True"/>
    <RadioButton Margin="5,0" GroupName="0" Content="UnChecked" />
    <RadioButton Margin="5,0" GroupName="0" Content="Disabled" IsEnabled="False" />
</StackPanel>

ProgressBars

Inputs

 <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
    <ProgressBar Ant:ProgressAssist.SmoothValue="{Binding ElementName=sld, Path=Value}" Margin="12,0" Maximum="100" BorderThickness="8" Minimum="0"  Width="67" Style="{StaticResource Ant.CircularProgressBar}"/>
    <ProgressBar  Value="100"  Margin="12,0" Maximum="100" BorderThickness="8" Minimum="0"  Width="67" Style="{StaticResource Ant.CircularProgressBar}"/>
 </StackPanel>
 <ProgressBar Ant:ProgressAssist.SmoothValue="{Binding ElementName=sld, Path=Value}"   Margin="0,24,0,12"  Maximum="100" IsIndeterminate="False"  Minimum="0"  Width="300" />
 <ProgressBar Value="100"  Maximum="100" IsIndeterminate="False"  Minimum="0"  Width="300" />

Icons

Inputs

  <Ant:AntIcon Key="AntCloudOutlined" Margin="4" Height="32" HorizontalAlignment="Center" Width="32"/>

AntDesign AntDesign

</div>

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on AntWpf:

Repository Stars
Babyhamsta/Aimmy
Universal Second Eye for Gamers with Impairments (Universal AI Aim Aligner (AI Aimbot) - ONNX/YOLOv8 - C#)
Version Downloads Last Updated
1.0.5 2,109 7/18/2024
1.0.4 124 7/16/2024
1.0.3 1,727 3/28/2023
1.0.2 272 3/27/2023
1.0.1 325 3/27/2023
1.0.0 250 3/27/2023