Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 20 08:55
    timunie commented #3376
  • Sep 20 08:49
    timunie commented #3610
  • Sep 19 18:25
    punker76 synchronize #3534
  • Sep 19 18:24
    punker76 synchronize #3561
  • Sep 19 18:05
    mgnslndh commented #3376
  • Sep 19 15:06
    mgnslndh commented #3610
  • Sep 19 14:32
    punker76 commented #3610
  • Sep 19 14:28

    punker76 on develop

    (GH-3349) Fix disable content o… (GH-3349) Respect changes from … Merge pull request #3610 from m… (compare)

  • Sep 19 14:28
    punker76 closed #3610
  • Sep 19 14:28
    punker76 closed #3349
  • Sep 19 13:56
    punker76 edited #3610
  • Sep 19 13:56
    punker76 milestoned #3610
  • Sep 19 13:56
    punker76 labeled #3610
  • Sep 19 13:55
    punker76 synchronize #3610
  • Sep 19 13:01
    donos-63 commented #3588
  • Sep 19 12:14
    mgnslndh commented #3610
  • Sep 19 11:51
    tonecool edited #3611
  • Sep 19 11:47
    tonecool opened #3611
  • Sep 19 11:27
    timunie commented #3610
  • Sep 19 10:08
    mgnslndh edited #3610
Tim
@timunie
To use the style:
<ToggleButton Style="{StaticResource MyToggleButtonStyle}"
              Content="Here we go :-)" />
Moustafa khalil
@mostafa901

@mostafa901 have you try Dispatcher?

@Kumar2Harsh yes I tried that as well.

DeputyOfCopyPaster
@DeputyOfCopyPaster
@timunie, @Kumar2Harsh : Wow, I see many knowing Metro followers helping us. It works, thank you!
DeputyOfCopyPaster
@DeputyOfCopyPaster
@timunie , excuse me. Is it possible an overriding of Metro-CircleButtons Properties (Background etc.)? I'm using a line as follows:
<Button    
Style="{DynamicResource MahApps.Metro.Styles.MetroCircleButtonStyle}">
</Button>
Tim
@timunie
@DeputyOfCopyPaster you can do it for any style in xaml, not just MahApps-Controls.
But
Tim
@timunie
I have to say that there was a breaking change in the current v2 alpha, where all the resource names were renamed. @punker76 is updating the manual, but it still need some time. If you need it urgently, you have to dig in the source.
Happy coding, Tim
DeputyOfCopyPaster
@DeputyOfCopyPaster
@timunie , not urgently, just there's a thought arisen, if is it possible to override dynamic resource. Just would like to create a control based on MetroCircleButton. That's all. Have you not done that? )) For yourself.
Tim
@timunie
No, I just wanted to help a little bit
DeputyOfCopyPaster
@DeputyOfCopyPaster
I mean for yourself.
Tim
@timunie
I am looking in the source if I need some Info.
DeputyOfCopyPaster
@DeputyOfCopyPaster
Yeah, here we have much to learn from... )
Tim
@timunie
I leaned and still learning much from it, too. So happy learning, Tim
DeputyOfCopyPaster
@DeputyOfCopyPaster
thank you & bye
Shoaib6337
@Shoaib6337
hey?
is mahapps framework available for xaimrain?
Jan Karger ツ ☀
@punker76
@Shoaib6337 Hey, MahApps.Metro is not available for Xamarin, because it's a WPF library.
Philipp Pätzold
@callahan_gitlab
Hi, is it possible to change order of - + to + - in the NumericUpDown
Tim
@timunie
Hi @callahan_gitlab there is a Property SwitchUpDownButtons. Please try to set this to true. Happy coding, Tim
Rob Evans
@revans611
Today, I cloned MahApps.Metro form GitHub and followed the install instructions found at https://github.com/MahApps/MahApps.Metro.IconPacks/wiki/How-to-build-the-solution. When I do a solution rebuild, I get lots of errors like: Error XDG0008 The name "TabControlHelper" does not exist in the namespace "clr-namespace:MahApps.Metro.Controls". MahApps.Metro TabControl.xaml. Also, in Solution Explorer, I have a yellow triangle on the NuGet icon found at MahApps.Metro/.NetCoreApp 3.0/Dependencies/Nuget. My Net Core SDK version is 3.0.100 preview5 (x64).
Tim
@timunie
Hi @revans611 as far as I know the current preview of .NET-Core is preview9. The documentation is not up to date due to a big rework.
Happy coding Tim
chan18
@chan18
image.png
hi @punker76 i am using this setup, https://github.com/punker76/MahApps.Metro.netcoreapp30, added an installer. It building and installing perfectly but after installing.
when I try to open the installed .exe file it is not opening. The same process works with the default WPF with dotnetcore.
I don't know what I am doing wrong here.
Any thoughts on this?
I am fairly new to WPF development, Is there any other way to added installation build?
Jan Karger ツ ☀
@punker76
@chan18 Do you installed also the .Net Core 3 runtime?
chan18
@chan18
image.png
Jan Karger ツ ☀
@punker76
@chan18 and dotnet --list-runtimes?
chan18
@chan18
image.png
PS C:\Windows\system32\WindowsPowerShell\v1.0> dotnet --list-runtimes
Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview6.19307.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Jan Karger ツ ☀
@punker76
@chan18 ok, I think I know what's wrong. the latest MahApps alpha has some breaking changes for the styles and brushes
@chan18 I will update that repository
Jan Karger ツ ☀
@punker76
@chan18 I updated this repository. It uses now 3.0.100-preview9-014004 and latest MahApps.Metro v.2.0 alpha.
chan18
@chan18
@punker76 Thanks, I will test and let you know!
Rob Evans
@revans611
@punker76 I Recloned this morning from https://github.com/MahApps/MahApps.Metro, but I am I am getting compile errors with messages like: 1) RevealImage.xaml.cs … does not contain a definition for InitializeComponent …, and 2) Source file 'D:\Source\repos\MahApps.Metro\src\MahApps.Metro\obj\Debug\net46\Controls\Dialogs\ProgressDialog.g.cs' could not be found. There is also a yellow triangle on NuGet under Dependencies/.NETCoreApp 3.0. Are these this related somehow to the MahApps alpha breaking changes or should I download from a different url?
Rene Hansen
@PorreKaj
Hi,
using mahapps for a commercial application requires giving credit right?
I'm reviewing some software that’s using mahapps, and I’d love to able to slam them on that.
Rene Hansen
@PorreKaj
Or well, I know it requires crediting. but I'm not sure about the 'logitstics' of that. is it enough to credit Mahapps in the code. Or does it have to be in the UI?
Jan Karger ツ ☀
@punker76
@PorreKaj https://opensource.org/licenses/MIT
Copyright <YEAR> <COPYRIGHT HOLDER>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Rene Hansen
@PorreKaj
Thanks, but for the last question, is it sufficient to include that text in the code somewhere, or in a file somewhere, or does it have to be in the UI somewhere.
Michael Heinrich
@pinki
I asked that myself and then looked at some of the popular open source software out there. Most of them have a screen showing the used libraries’ license information.
Kevin B
@Keboo
I have a commercial app that is using MahApps. In our About screen with list all of the relevant open source products we use along with their licenses.
Rene Hansen
@PorreKaj
thanks guys
Magnus Lindhe
@mgnslndh
Is the current pre-release 2.0.0-alpha0479 stable enough to try out for internal use? Sent a PR for #3349 because I really want to see MahApps move forward to the release of 2.0.0 :)
Tim
@timunie
@mgnslndh I personally use it already and I'm quite happy with it. But keep in mind that there are some breaking changes. You need to update all Resource names. Happy coding Tim
Tobby
@realTobby
Hello, I have a hard time understadning MahApps.Metro.Controls.Dialogs on how to implement it into my ViewModel. In the documentation the dialogCoordinator is called with await, but the Functions FooProgress is not async. How is this possible? When I declare the Function async and try it out, no Dialog opens.