DXBlazorExtensions 24.2.1-alpha
dotnet add package DXBlazorExtensions --version 24.2.1-alpha
NuGet\Install-Package DXBlazorExtensions -Version 24.2.1-alpha
<PackageReference Include="DXBlazorExtensions" Version="24.2.1-alpha" />
paket add DXBlazorExtensions --version 24.2.1-alpha
#r "nuget: DXBlazorExtensions, 24.2.1-alpha"
// Install DXBlazorExtensions as a Cake Addin #addin nuget:?package=DXBlazorExtensions&version=24.2.1-alpha&prerelease // Install DXBlazorExtensions as a Cake Tool #tool nuget:?package=DXBlazorExtensions&version=24.2.1-alpha&prerelease
DXBlazorExtensions
DXBlazorExtensions is a powerful library built upon DevExpress Blazor, offering custom components to enhance web applications. Designed for flexibility and performance, it expands the DevExpress ecosystem, providing developers with innovative tools to create rich, responsive Blazor applications with ease.
Features
- Custom components extending the DevExpress Blazor suite
- Flexible and responsive design for web applications
- Seamless integration with DevExpress Blazor controls
- Easy to use and configure
Installation
You can install the DXBlazorExtensions NuGet package via the NuGet Package Manager, or using the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Right-click on the project and select
Manage NuGet Packages
. - Search for
DXBlazorExtensions
and install it.
.NET CLI
dotnet add package DXBlazorExtensions
Usage
After installing the package, you can start using the custom components by following the steps below.
1. Add the required imports
In your _Imports.razor
file, make sure to include the following:
@using DXBlazorExtensions
@using DevExpress.Blazor
2. Use a Component
Here is an example of how to use one of the custom components, such as the DxCard
component.
Example: Using DxCard
<DxCard Title="Sample Card" Subtitle="Card Subtitle">
<DxCardContent>
<p>This is a custom card component created with DXBlazorExtensions.</p>
</DxCardContent>
</DxCard>
Example: Using DxListView
<DxListView Items="@listItems" ItemTemplate="listTemplate">
<ItemTemplateContext>
<div>
<p>@context.Item</p>
</div>
</ItemTemplateContext>
</DxListView>
@code {
List<string> listItems = new List<string> { "Item 1", "Item 2", "Item 3" };
RenderFragment<string> listTemplate = item => @<div>@item</div>;
}
3. Configuring Responsive Pages
You can also utilize the ResponsivePage
component to build adaptable layouts that respond to different screen sizes.
Example: Using ResponsivePage
<ResponsivePage>
<h3>Responsive Design Example</h3>
<p>This page adjusts layout based on screen size.</p>
</ResponsivePage>
Contributing
We welcome contributions to improve the library. Please feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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
- Blazored.LocalStorage (>= 4.5.0)
- DevExpress.Blazor (>= 24.2.1-alpha-24260)
- Microsoft.AspNetCore.Components.Authorization (>= 8.0.8)
- Microsoft.AspNetCore.Components.Web (>= 8.0.8)
- Microsoft.Extensions.Localization (>= 8.0.8)
- morelinq (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.