Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CS/DynamicPopup/App.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
@DxResourceManager.RegisterScripts()
@DxResourceManager.RegisterTheme(Themes.Fluent.Clone(properties => {
properties.AddFilePaths("css/theme-fluent.css");
}))

<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<DxModalPopup />
Expand Down
4 changes: 2 additions & 2 deletions CS/DynamicPopup/DynamicPopup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<Folder Include="wwwroot\images\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DevExpress.Blazor" Version="24.2.1-alpha-24207" />
<PackageReference Include="DevExpress.Blazor" Version="25.1.*-*" />
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion CS/DynamicPopup/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
<base href="~/" />
<link href="css/blazor-themes/blazing-berry.bs5.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr" crossorigin="anonymous">
<link href="~/css/site.css" rel="stylesheet" />
<link href="DynamicPopup.styles.css" rel="stylesheet" />
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
Expand Down
42 changes: 42 additions & 0 deletions CS/DynamicPopup/wwwroot/css/theme-fluent.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
body {
margin: 0;
}


.w-100 {
width: 100%;
}

.text-danger {
color: var(--DS-color-surface-danger-default-rest);
}

.p-4 {
padding: 1.5rem;
}

.navigation-drawer {
--dxbl-drawer-separator-border-width: 0;
}

.menu-item {
--dxbl-menu-item-color: #fff;
--dxbl-menu-item-image-color: #fff;
}

[data-fluent-darkmode] .dxbl-theme-fluent .welcome-card {
color: var(--DS-primary-70);
}

.icon {
--icon-width: 1.25rem;
--icon-height: 1.25rem;
--icon-back-mask-image: url("/images/back-fluent.svg");
--icon-close-mask-image: url("/images/close-fluent.svg");
--icon-menu-mask-image: url("/images/menu-fluent.svg");
--icon-docs-mask-image: url("/images/doc-fluent.svg");
--icon-demos-mask-image: url("/images/demos-fluent.svg");
--icon-home-mask-image: url("/images/home-fluent.svg");
--icon-weather-mask-image: url("/images/weather-fluent.svg");
--icon-counter-mask-image: url("/images/counter-fluent.svg");
}
3 changes: 3 additions & 0 deletions CS/DynamicPopup/wwwroot/images/back-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions CS/DynamicPopup/wwwroot/images/close-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions CS/DynamicPopup/wwwroot/images/counter-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions CS/DynamicPopup/wwwroot/images/demos-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions CS/DynamicPopup/wwwroot/images/doc-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions CS/DynamicPopup/wwwroot/images/home-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions CS/DynamicPopup/wwwroot/images/menu-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions CS/DynamicPopup/wwwroot/images/weather-fluent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!-- default badges list -->
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/809670658/25.1.3%2B)
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T1236052)
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
<!-- default badges end -->
# Blazor Popup - Add Content Dynamically

This example creates a service to generate Popup content dynamically.
Expand Down
Binary file modified blazor-popup-created-dynamically.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading