MasterBlazor.WPF.UC.RestForm 1.0.0

dotnet add package MasterBlazor.WPF.UC.RestForm --version 1.0.0
                    
NuGet\Install-Package MasterBlazor.WPF.UC.RestForm -Version 1.0.0
                    
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="MasterBlazor.WPF.UC.RestForm" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MasterBlazor.WPF.UC.RestForm" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="MasterBlazor.WPF.UC.RestForm" />
                    
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 MasterBlazor.WPF.UC.RestForm --version 1.0.0
                    
#r "nuget: MasterBlazor.WPF.UC.RestForm, 1.0.0"
                    
#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 MasterBlazor.WPF.UC.RestForm@1.0.0
                    
#: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=MasterBlazor.WPF.UC.RestForm&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=MasterBlazor.WPF.UC.RestForm&version=1.0.0
                    
Install as a Cake Tool

MasterBlazor.WPF.UC.RestForm

This WPF library will include a variety of WPF custom controlls that provides helpful controls to WPF App

Installation and Usage

To use the ComboSettings1 component in another XAML page, follow these steps:

  1. Reference the Project: If the XAML page is in a different project, you need to add a reference to the MasterBlazor.WPF.UC.RestForm project. In Visual Studio, you can do this by right-clicking on the References node in the Solution Explorer and choosing Add Reference. Then, select the MasterBlazor.WPF.UC.RestForm project.

  2. Add Namespace: In the XAML page where you want to use the component, you need to add a namespace for the MasterBlazor.WPF.UC.RestForm project. At the top of your XAML file, add the following line:

    xmlns:restForm="clr-namespace:MasterBlazor.WPF.UC.RestForm;assembly=MasterBlazor.WPF.UC.RestForm"
    

    Replace MasterBlazor.WPF.UC.RestForm with the actual namespace and assembly name of your project.

  3. Use the Component: Now, you can use the ComboSettings1 component in your XAML page like this:

    <restForm:ComboSettings1 x:Name="comboSettings1" ComboBoxItemSelected="comboSettings1_ComboBoxItemSelected" />
    
  4. Code behind: in the C# code page of xaml that you added the namespace can handle the event when change the combo box:

private void comboSettings1_ComboBoxItemSelected(object sender, ComboBoxItemData e)
{
    //do something after changing the dropdown selection
}

Remember to build your project after making these changes to ensure everything is working correctly.

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 267 7/18/2024