Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 10:03
    batzen commented #4379
  • 10:02
    batzen assigned #4379
  • 10:02
    batzen milestoned #4379
  • 08:51
    AleMcKee edited #4379
  • 08:47
    AleMcKee labeled #4379
  • 08:47
    AleMcKee opened #4379
  • Feb 05 14:03
    punker76 closed #4255
  • Feb 05 14:03
    punker76 commented #4255
  • Feb 05 14:02
    punker76 milestoned #4255
  • Feb 02 23:27
    Build #1897 passed
  • Feb 02 23:16
    punker76 closed #4362
  • Feb 02 23:15

    punker76 on develop

    feat: #4362 adapt window to new… refactor: update window samples refactor: add rounded border wi… and 1 more (compare)

  • Feb 02 21:46
    punker76 milestoned #4362
  • Jan 31 07:16
    timunie commented #1311
  • Jan 31 05:27
    tcortega commented #1311
  • Jan 29 22:47
    Build #1896 passed
  • Jan 29 22:37

    punker76 on develop

    refactor: use webview2 instead … (compare)

  • Jan 24 09:54
    Build #1895 passed
  • Jan 24 09:43

    punker76 on develop

    fix: use app.manifest only < ne… (compare)

  • Jan 23 21:21
    Build #1894 passed
Torchok19081986
@Torchok19081986
morning, is there possiblity to animate additional window in mahapps with effects like slide-in or zoom ?
Torchok19081986
@Torchok19081986
how can i use mahapps in net. 6 oder later?
Cédric Lampron
@C1rdec

@punker76 Hey Jan I was wondering if you could list GitLurker in the Awesome Application Samples of MahApps :)

It's an open source project that leverage Caliburn.Micro and MahApps to help devs in day to day tasks. 🍻

ikeas68
@ikeas68
@C1rdec it's possible to download only executable ?
ejnelson15
@ejnelson15
Hey everyone, is there a way to hide the eye icon on the PasswordBox? I'm using the MahApps.Styles.PasswordBox.Button.Revealed style. Do I just need to override the MahApps.Controls.RevealIcon? I'm required to use a checkbox to control whether the password is visible or not
ejnelson15
@ejnelson15
I ended up figuring it out
Torchok19081986
@Torchok19081986
Hiho, can someone pls tell me , how do i add custom ressourcedictionary with custom accents and themes for whole application? I created new Custom Ressources Files in Application. If i add new usercontrol or new window , i got always standard metrowindow accent light.blue. It there possibility to change it ?
JSP
@johannesspreemann_gitlab
Hi! Is there a date for the next full release? btw. Thx and keep up the good work
Bastian Schmidt
@batzen
@Torchok19081986 You have to use ThemeManager to change to color scheme/accent/colors
Torchok19081986
@Torchok19081986
Morning, thanks for answer @batzen . 👍👍
rate live
@live_rate_twitter
Hi. How to set Corner Radius on the main MetroWindow, by means of MahApps. I using Theme by MahApps. I would like round corners for main Window.
LukasTorquato
@LukasTorquato
Hi there, anyone know how to use any of these properties? I can't pull them in a Color Picker neither on XAML nor on the codebehind.
image.png
LukasTorquato
@LukasTorquato
Apparently those properties are only available on the alpha version of MahApps, and not on the official release.
Denis Zaporozhets
@QuantumDeveloper
does anyone know how to get prebuild binaries from develop branch? I see that there are no releases already a year from the master branch
@punker76
Jan Karger ツ ☀
@punker76
@QuantumDeveloper the prebuilds are always available here https://ci.appveyor.com/nuget/mahapps.metro
Denis Zaporozhets
@QuantumDeveloper

@QuantumDeveloper the prebuilds are always available here https://ci.appveyor.com/nuget/mahapps.metro

thanks

Mark Brown
@IDMiner

@punker76 We're in the midst of modernizing our WPF client app and we are heavily invested in MahApps.Metro. Many of our customized styles are BasedOn the MahApps.Styles.

We would like to mimic the look of the Windows 11 Common controls by applying rounded corners per the Geometry in Windows 11 guidelines.

Since the base ControlTemplates already include support for the ControlsHelper.CornerRadius attached property, it's relatively easy for us to achieve the look we're going for.

That said, we would like to know if you have any specific plans to update the ControlTemplates and Styles to make this happen automagically when the client application is running on Windows 11.

We want to avoid any duplication of effort or incompatibilities with future releases of MahApps.Metro if you already have plans for something like this in the works...

2 replies
bolt-b
@bolt-b
Hello everyone,
Has something changed in the lattest stable Mahapps.Metro int terms of TabItem header fontsize. I need to make it smaller.
{evelyn ding dong🌛}
@Bluatruli_twitter
Hello! So I've been customizing a combobox and everything was alright, I know for some reason combobox styles break when I try to create a template and I've been able to find work arounds for everything. However, I put a custom dropdown arrow by setting the "ComboBoxDownArrowGeometry" to the shape I want, however I need it to be slightly smaller. I used inkscape to get the geometry data directly from the figma file I'm referencing, but it looks like the arrow won't change in size no matter what size I set the button width to. Is there a way to have the arrow scale with the size of the button width?
Marimuthu
@kumarreddevil_twitter

I'm not sure if there is solution to my problem already available. But I couldn't google it.

I'm using HamburgerMenu in my .Net 6 WPF application along with Mahapps themes. Initially I was using Dark theme so the hamburger menu looked nice. I added a feature to change the theme runtime. When a light theme is selected Hamburger Menu looks odd. Later I found that's how the Hamburger Menu looks regardless of theme. Is my understanding correct ?

Is there a way I can make the background of the Hamburger Menu to match light theme ?

1 reply
Dark Theme
image.png
Light Theme
image.png
joshuasheng
@joshuasheng:matrix.org
[m]
Hey, we just migrated our app to Mahapps 2.0, and we were wondering what the reasoning behind renaming WhiteBrush/BlackBrush to ThemeBackground/ThemeForeground was? It feels like a pretty large logical leap and renaming all the styles left us with funky code like Foreground = "{DynamicResource Mahapps.Brushes.ThemeBackground}". Thanks in advance!
ikeas68
@ikeas68
hello can i have a format with two letter like :00 in numericupdow ? for sample with int = 5 i have 05
i work with mahapp 1.6.5.1
Jan Karger ツ ☀
@punker76
@ikeas68 you can use 00 for the string format
Liam
@LiamJM96
Hey all, I want to change the template of the TextBox so I can have a different colour when selected, this works but I then lose the watermark textbox helpers (presumably because I'm overriding the template), is there a simple way of preserving the watermark helper whilst modifying the focused border colour?
Ansel Cadien
@anselantz
is there a feature to make SimpleChildWindow width and height relative?
Rohan D'Sa
@goldcode
the MultiSelectionComboBox currently has a disabled look in darkmode. To get the same background look as ComboBox i use <mah:MultiSelectionComboBox mah:ControlsHelper.DisabledVisualElementVisibility="Collapsed" maybe something to check out?
Tim
@timunie
@LiamJM96 easiest is to look up the original style and modify it to your needs. All the watermark stuff should be there
@anselantz probably you can write a converter for width and height which calcualtes the needed values
Tim
@timunie
@goldcode yes looks like. Are you able to send a PR to solve it? Otherwise please open an issue.
Rohan D'Sa
@goldcode
I'll open an issue. I don't feel experienced in the code to send a PR.
Boris-Da-Blade
@Boris-Da-Blade
Hi there. I'm new here, coding "admin tools" in powershell, using WPF and MahApps.Metro at work. I'm currently having an issue using ProgressAsyng Dialog, in a MetroWindow app. Can't find how to use it ! During my tries I had ShowProgressAsync showing nothing, or showing the dialog but then freezing UI...I think I just need an exemple, but I can't fint it anywhere, in powershell :/ Thank you for any advices, and for your time reading this. Have a nice day folks !
FYI I succesfully use [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowModalMessageExternal to show classic dialog in the same app
I can't find how to use Task<TDialog> stuff, returning from [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowProgressAsync(...)
(using MahApps Metro 1.6.5.0)
shushu789
@shushu789
Hello everyone, when I use the HamburgerMenuControl, the ToolTip property does not work. I tested other controls and they are all normal. Is it the problem of the HamburgerMenuControl itself?
shushu789
@shushu789
I initiated a problem, I hope you can help me to look at it, thank you very much!MahApps/MahApps.Metro#4378
Jan Karger ツ ☀
@punker76
@shushu789 I commented on your issue.
Sergio Catalan
@sercatven:matrix.org
[m]

Hello everyone,

I would like to put a general value to the {TemplateBinding property mah:ControlsHelper.CornerRadius}, but I don't know how to do it, can someone explain me how to do it?
Thanks, regards

shushu789
@shushu789
Sorry to bother you guys, I found a problem, maybe a compatibility issue or a design bug, but I think it can be fixed. My WPF program uses MahApps, (<mah:MetroWindow...), in which I use a button control of MaterialDesignInXamlToolkit, the style of this button control is: MaterialDesignRaisedButton. When I run the program, everything seems to be fine, but immediately after I minimize the form, the memory increases at a rate of 1MB/s, and it won't stop, unless I restore this form that was just minimized, after restoring the memory immediately drop and return to normal levels. I know my question is about coming from two different places, (MahApps and MaterialDesignInXamlToolkit), but if I don't use MahApps(mah:MetroWindow), then, the above problem doesn't exist, everything works fine, also I tried several other Different styles of a similar button, only this style is found so far: MaterialDesignRaisedButton has this problem, the condition that triggers this problem is when the form is minimized.
image.png
image.png
shushu789
@shushu789
Sorry, I would like to add that the basic condition for triggering the above problem is that when the button uses the following two properties as True, it occurs when the window is minimized. materialDesign:ButtonProgressAssist.IsIndeterminate="True"
materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"
shushu789
@shushu789
I uploaded a demo with the above problem, can someone help me? thanks。https://github.com/shushu789/DotWPFDemo/tree/master