XAML.Extensions.Wpf 1.2.8

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package XAML.Extensions.Wpf --version 1.2.8
                    
NuGet\Install-Package XAML.Extensions.Wpf -Version 1.2.8
                    
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="XAML.Extensions.Wpf" Version="1.2.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XAML.Extensions.Wpf" Version="1.2.8" />
                    
Directory.Packages.props
<PackageReference Include="XAML.Extensions.Wpf" />
                    
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 XAML.Extensions.Wpf --version 1.2.8
                    
#r "nuget: XAML.Extensions.Wpf, 1.2.8"
                    
#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 XAML.Extensions.Wpf@1.2.8
                    
#: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=XAML.Extensions.Wpf&version=1.2.8
                    
Install as a Cake Addin
#tool nuget:?package=XAML.Extensions.Wpf&version=1.2.8
                    
Install as a Cake Tool

XAML.Extensions.Wpf

definition and writing of animations , converters , markup extensions in wpf xaml

1. animation & transition

animation

  1. BrushPropertyAnimation
  2. ThicknessPropertyAnimation
  3. Int32PropertyAnimation
  4. DoublePropertyAnimation
  5. ColorPropertyAnimation
  6. Point3DPropertyAnimation
  7. QuaternionPropertyAnimation
  8. Rotation3DPropertyAnimation
  9. VectorPropertyAnimation
  10. Vector3DPropertyAnimation
  11. SizePropertyAnimation

transition

  1. Fade
  2. Rotate
  3. ScaleX
  4. ScaleY
  5. SlideX
  6. SlideY
<Window
    ...
    xmlns:ext="xaml.extensions.wpf"
    ...>

    ...
    ...

    <Grid Margin="0">
       <ext:Interaction.Animations>
           <ext:BrushPropertyAnimation
               BeginTime="0:0:2"
               Property="{x:Static Grid.BackgroundProperty}"
               From="Red"
               To="Green"
               Duration="0:0:0.3" />
    
           <ext:ThicknessPropertyAnimation
               BeginTime="0:0:2"
               Property="{x:Static Grid.MarginProperty}"
               From="0"
               To="150"
               Duration="0:0:0.3" />
       </ext:Interaction.Animations>
    
       <ext:Interaction.Transitions>
           <ext:SlideX
               BeginTime="0:0:2"
               From="-200"
               Duration="0:0:0.3" />
           <ext:SlideY
               BeginTime="0:0:2"
               From="-200"
               Duration="0:0:0.3" />
           <ext:Rotate
               BeginTime="0:0:2"
               From="-360"
               Duration="0:0:0.3" />
           <ext:Fade
               BeginTime="0:0:2"
               From="1"
               Duration="0:0:1" />
       </ext:Interaction.Transitions>
    
    
       <TextBlock Width="{ext:Double 200}" />
    
    
       <Button
           Width="{Double 200}"
           Height="{Double 20}"
           Command="{ext:Method Invoke}"
           Content="click" />
    
    </Grid>

</Window>

2. converters

  1. BooleanReverseConverter
  2. BooleanToVisibilityConverter
  3. BooleanToVisibilityReverseConverter
  4. ColorStringConverter
  5. BrushStringConverter
  6. LengthConverter
  7. NullOrEmptyConverter
  8. NotNullOrEmptyConverter
  9. NullOrWhiteSpaceConverter
  10. NotNullOrWhiteSpaceConverter
  11. NullConverter
  12. NotNullConverter
  13. CompositeConverter
<Window
    ...
    xmlns:cvt="xaml.extensions.wpf"
    ...>
 
    <Window.Resources>
        <cvt:CompositeConverter x:Key="converter">
            <cvt:LengthConverter />
            <cvt:CompareConverter
                Compare="{Int32 18}"
                Matched="{Double 11.11}"
                Mode="GreaterThan"
                Unmatched="{Double 600}" />
        </cvt:CompositeConverter>
    </Window.Resources>

    <StackPanel>
        <TextBox x:Name="text" />
        <TextBlock
            Text="{Binding ElementName=text, Path=Text, Converter={StaticResource converter}}" />
    </StackPanel>


</Window>

3. markup extension

  1. CharExtension
  2. DecimalExtension
  3. BooleanExtension
  4. StringExtension
  5. SByteExtension
  6. ByteExtension
  7. DoubleExtension
  8. SingleExtension
  9. UInt64Extension
  10. Int64Extension
  11. UInt16Extension
  12. Int16Extension
  13. UInt32Extension
  14. Int32Extension
  15. ColorExtension
  16. SolidColorBrushExtension
<Window
    ...
    xmlns:cvt="xaml.extensions.wpf"
    ...>
    
    ...
    ...

    <Border
        Width="{cvt:Double 200}"
        Height="{cvt:Int16 32}"
        Background="{cvt:SolidColorBrush Color=Red,
                                     Opacity=0.3}">
        <Border.Tag>
            <cvt:String>display_string</cvt:String>
        </Border.Tag>
    </Border>
</Window>
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  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.  net6.0-windows7.0 is compatible.  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.  net7.0-windows7.0 is compatible.  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.  net8.0-windows7.0 is compatible.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.
  • net7.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

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