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
<PackageReference Include="MasterBlazor.WPF.UC.RestForm" Version="1.0.0" />
paket add MasterBlazor.WPF.UC.RestForm --version 1.0.0
#r "nuget: MasterBlazor.WPF.UC.RestForm, 1.0.0"
// Install MasterBlazor.WPF.UC.RestForm as a Cake Addin #addin nuget:?package=MasterBlazor.WPF.UC.RestForm&version=1.0.0 // Install MasterBlazor.WPF.UC.RestForm as a Cake Tool #tool nuget:?package=MasterBlazor.WPF.UC.RestForm&version=1.0.0
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:
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 theReferences
node in the Solution Explorer and choosingAdd Reference
. Then, select theMasterBlazor.WPF.UC.RestForm
project.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.Use the Component: Now, you can use the
ComboSettings1
component in your XAML page like this:<restForm:ComboSettings1 x:Name="comboSettings1" ComboBoxItemSelected="comboSettings1_ComboBoxItemSelected" />
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. |
-
net8.0-windows7.0
- Newtonsoft.Json (>= 13.0.3)
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 | 115 | 7/18/2024 |