Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

ProgressRing is not visible on Button Click using PowerShell

I am building one tool using WPF + PowerShell + MahApps.Metro. I am stuck at one situation here. I would like to showcase ProgressRing when I click on Button. The Button click event should display ...
Ram Mansawala's user avatar
0 votes
0 answers
30 views

Could not load file or assembly 'MahApps.Metro, PublicKeyToken=null' or one of its dependencies

I built an installer for a .Net application that contains MahApps.Metro dll for WPF forms. I added the MahApps.Metro DLL to the resource folder and referenced it from there in the project. The ...
ItzAsh's user avatar
  • 3
0 votes
0 answers
34 views

MahApps.Metro increases processor usage

I'm writing two wpf projects and the versions of these things without mahapps.metro was perfectly smooth and almost not using cpu as well. But when I add MahApps.Metro library to these projects, cpu ...
Maxophonyx's user avatar
0 votes
0 answers
41 views

Update ControlzEx from version 3.x to 4.3 and MahApps.Metro from version 1.65 to version 2.0

Hy, I am not a very experienced developer (recent graduate). My task is to update all dependencies of an application . One dependency is ControlzEx. I updated ControlzEx from version 3.x to 4.3. With ...
pinter_milan's user avatar
-1 votes
1 answer
50 views

What's the correct way to inherit from an already custom style in MahApps.Metro?

Here's my (general) custom Button styling for the whole App I'm building: <Style TargetType="{x:Type Button}" BasedOn="{StaticResource MahApps.Styles.Button}"> <...
markzzz's user avatar
  • 47.5k
1 vote
1 answer
63 views

RepeatButton on MahApps Metro: how do I change the background when mousehover?

Here's my Slider: <Slider x:Name="videoPlayerSlider" Minimum="0" Maximum="100" HorizontalAlignment="Stretch" ...
markzzz's user avatar
  • 47.5k
0 votes
1 answer
34 views

Custom DatePicker: how can I change icon image and open the popup clicking on TextBox on codebehind?

Here's my Custom DatePicker: <customcontrols:CustomDatePicker x:Name="DataCreazione" SelectedDate="{Binding DataCreazione, StringFormat={}{0:dd/MM/...
markzzz's user avatar
  • 47.5k
0 votes
1 answer
85 views

How can I change the watermark "color?

Hers's my basic setting for a TextBox: <TextBox x:Name="NomeRapporto" Text="{Binding NomeRapporto}" controls:TextBoxHelper.Watermark="Nome Rapporto" ...
markzzz's user avatar
  • 47.5k
0 votes
0 answers
28 views

How to disable the text suggestion for a MahApps-Metro textbox

While typing text into a MahApps Textbox, auto suggested text pops up by default. How can this feature be disabled? Here an example: <TextBox Text="{Binding Title}" ...
luni64's user avatar
  • 333
-2 votes
1 answer
56 views

Button weird background on over?

I'm using this Button: <Button Name="buttonAttiva" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,560,0,0"> &...
markzzz's user avatar
  • 47.5k
0 votes
1 answer
35 views

ToggleButton weird border color on over?

I'm using this StackPanel, with 3 ToggleButton: <StackPanel x:Name="LanguageBoxAuth" Orientation="Horizontal" HorizontalAlignment="Center" ...
markzzz's user avatar
  • 47.5k
-1 votes
1 answer
24 views

WPF Binding get some wrong in MahApps.Metro but it can run

**In my xaml: * * <! -- Items --> <Controls: HamburgerMenu. ItemsSource> <Controls: HamburgerMenuItemCollection> <Controls: HamburgerMenuItem Command="{Binding ...
Richard Arlen's user avatar
-1 votes
2 answers
165 views

DateTimePicker: how can I remove the "time" section?

I've a generic DateTimePicker control in MahApps: <controls:DateTimePicker x:Name="CreationDate" SelectedDateTime="{Binding CreationDate}" ...
markzzz's user avatar
  • 47.5k
0 votes
0 answers
14 views

How to overide metrocombox style triggers?

I am using MetroCombobox. When the control is disabled, the text inside the combo is having a different light foregroundcolor.This makes it not readable.I was asked to increase brightness of the ...
Amitha Raghavendra's user avatar
0 votes
1 answer
50 views

WPF Application exits without saving data despite no exceptions thrown

I have a WPF application using MahApps.Metro with a title bar closure button to close the application. My goal is to store records in an Azure Storage Account when the application closes. I've ...
Rabins Rai's user avatar
0 votes
0 answers
90 views

Powershell, Mahapps : error Uunknown type '{clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro}MetroWindow'

I've spent many hours, googling and trying, but I'm still spinning around with this error : Unable to create unknown type '{clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro}MetroWindow' I'...
OscarDelta59's user avatar
0 votes
0 answers
15 views

PowerShell MetroWindow Image [duplicate]

Hi i atually create a gui apps WPF with mahapps metro and when i try to put a general background for my gui apps that not working and i need to put the entire path : Not WORK ( i use Pack URI for ...
Ynot's user avatar
  • 1
0 votes
0 answers
92 views

I am using MahApps hamburger menu along with right window command buttons. How can I change content control of hamburger menu from command buttons?

I am building a C# WPF application with MahApps hamburger menu and right window commands (RWC) to navigate between different views. I am able to get the hamburger menu items to switch views associated ...
Dinesh Ayyala's user avatar
0 votes
0 answers
20 views

Mah apps resource not found in a wpf class library

My application is using a wpf library (uilib.vcproj) which itself uses another ( corelib.vcproj). In coreLib a resource dictionary (MahAppsMetroStyles.xaml) exist whic define mah app style and it s in ...
emmanuel gidon's user avatar
0 votes
1 answer
29 views

Mahapps Metro - Expander: applying LayoutTrasform to header changes style

In a WPF application using Mahapps Metro, I'd like to use an Expander on the right. To prevent the Expander to take too much space when collapsed, I'd like to apply a layoutTrasform to its header. ...
Starnuto di topo's user avatar
0 votes
0 answers
36 views

Style "Cannot find resource 'MetroGroupBox'" in MahApps at runtime

I am using MahApps Metro for a project and I'm attempting to modify a particular style. In the Resource Dictionary, there is no error for the following code: /Resources/Resources.xaml <...
zynovij's user avatar
  • 195
0 votes
1 answer
82 views

How to have dynamic content or use a ContentTemplateSelector with Mahapps Hamburger Menu?

I am doing some testing of the Mahapps HamburgerMenu. I want to dynamically add items to the HambugerMenu and in turn add content. My Basic HambergerMenu is as follow. <Controls:HamburgerMenu x:...
darbid's user avatar
  • 2,694
0 votes
0 answers
83 views

MahApps Progress Ring not showing up when Refreshing data

I'm trying to show a progress spinner when I hit a refresh to get new data in a table. The spinner appears for like a second but the task takes about like a solid 10 seconds. I want the spinner to ...
DonDavid12's user avatar
1 vote
2 answers
64 views

WPF: Data binding to common property across views

I have a WPF application, where I want to keep a centralized date selection. I want to allow the date to set through one screen, and update it on others. Below is the common service, public interface ...
bsr's user avatar
  • 58.4k
0 votes
1 answer
123 views

ProgressRing does not visible when trying to update UI by running some other process in WPF

I am working on WPF application. I am using MahApps Metro controls and theme in my application. I want to show a Loading indicator when some other process is running. This process will also update the ...
RMR's user avatar
  • 629
0 votes
1 answer
134 views

Why is the ClearTextButton icon showing as a letter r when defining TextBlock style?

Using Visual Studio 2022, .NET 6, WPF (with MVVM), Mahapps.Metro (+IconPacks), C#. I'm using Mahapps.Metro and I defined a style for the ComboBox so that it shows a clear text button. <Style ...
Ultron1891's user avatar
1 vote
1 answer
119 views

How to use IsAlphaChannelVisible property in MahApps.Metro ColorPicker?

I'm using the mah:ColorPicker entity but can't use some properties that are listed in the documentation like "IsAlphaChannelVisible" and "AreHsvChannelsVisible". <mah:...
Lukas Torquato's user avatar
0 votes
1 answer
190 views

Change style of a button at runtime in wpf with multibinding

I am trying to change the style of a button at runtime depending on a bool property. In addition to that, I am using the mahapps.metro framework. My Code: The view: <UserControl.Resources> &...
dot's user avatar
  • 496
0 votes
1 answer
386 views

Datepicker Fontcolor on Focus

I want to change the Foreground (font color) of the mouse-over-day: I've oriented myself on the following stackoverflow-question How Change datepicker's Selected Date Text Color (White) and also ...
Basssprosse's user avatar
0 votes
1 answer
138 views

When using Mahapps.Metro, last header of a GridView shows double vertical line

I have a WPF project which uses Mahapps.Metro theming. When a theme is applied - GridView's last ColumnHeader shows two vertical lines. Is it possible to show only one vertical line instead? Checked ...
Alexey Titov's user avatar
-1 votes
1 answer
530 views

Set the data context of a custom control of mahapps hamburger menu tag

I have come across lots of questions regarding this topic, however, I haven't found one that would solve my problem. For example, I can't use this solution since I'm using MVVM and I register my view ...
drazse's user avatar
  • 103
2 votes
1 answer
6k views

Switch XAML resources at runtime based on light/dark theme?

I have a WPF application that uses MahApps ("light" mode) and I've now provided a way for the user to switch modes (light/dark). A lot of the app's colours obviously change depending on the ...
Andrew Stephens's user avatar
-1 votes
1 answer
146 views

Style Triggers Cause Control To Lose Theme

I have a WPF application using MahApps Metro for it's UI theming. I also need to use style triggers so I can appropriately determine whether a control is visible based on a property. The triggers work,...
Meme Machine's user avatar
  • 1,029
-1 votes
1 answer
383 views

How to change MahApps Icon into URI?

I am using MahApps and AvalonDock for my WPF application, AvalonDock tab header icon can only accept URI icon source. However, from my understanding MahApps icon need to set like below: <MenuItem....
Joshua Chan's user avatar
1 vote
0 answers
419 views

WPF binding source mismatch for a MahApps.Metro.Controls.NumericUpDown inside a TabControl

I often use MahApps.Metro.Controls.NumericUpDown to manipulate numerical values from the user interface. Recently I have observed a binding behaviour so strange and surreal that completely undermined ...
tethered.sun's user avatar
1 vote
0 answers
101 views

Weird theming issue with multiple assemblies

I am running into a weird issue with MahApps Themes when different assemblies create windows in succession. The assemblies are .DLL Add-ins for Autodesk Revit. Since I am the one creating both, I have ...
dvdgnz's user avatar
  • 36
0 votes
1 answer
72 views

Communicate between two UserControl's [closed]

I'm working on some application to get more experience with WPF applications. I manage the application frames with TabItem control of MahApps.Metro library like this: MainWindow.xaml <TabItem ...
Dan's user avatar
  • 5
0 votes
1 answer
2k views

WPF binding mahapps metro icons in template - Tag binding not working

I have a navbar with several buttons in it. The buttons all use the same style, defined in a ResourceDictionary. I am trying to add an icon from Mahapps to each button. Each button will need a ...
Kappacake's user avatar
  • 1,907
1 vote
1 answer
884 views

MahApps Icon Packs

do I really need all IconPack DLLs if I want to distribute an app? I only use 3 libraries, but when I remove the rest of the IconPack libraries, XAML throws errors. Can anyone give me a tip? Thanks a ...
René Kolbe's user avatar
0 votes
1 answer
327 views

WPF MahApps Listview performances

I populate a ListView with a simple List<T> source. I also use grouping on the ListView (using default view GroupDescriptions) and sorting (using ListView items SortDescriptions). If I display ...
Alex's user avatar
  • 65
0 votes
1 answer
327 views

Mahapp Flyout is hidden by webview2 control

I feel like I'm missing something obvious, but: I was hoping to use the mahapps Flyout control to do a fairly simple flyout over a webview2 control. However, the the flyout shows behind the webview2 ...
lukep's user avatar
  • 131
0 votes
0 answers
105 views

An error occurred while finding the resource dictionary (MahApps 2.4.7) (WPF)

Im using the of MahApps for .net 4 Client Profile. then I change the Target framework from .net 4 client profile to .Net Framework 4.6 and reinstall the latest version of MahApps (MahApps 2.4.7). Then ...
Faustine John Murillo's user avatar
0 votes
1 answer
129 views

C#: Open webbrowser within task --> currently STA problem

General: WPF application Using mahapps.metro Using mahapps progress dialog What do I want to achieve Open mahapps progress dialog During progress dialog doing some stuff One of the doing stuff is ...
FINCH's user avatar
  • 3
1 vote
0 answers
382 views

MahApps Context is not registered on startup

I have WPF MVVM app with the MahApps Shell Window which loads couple of Pages. On the ShellWindow I have setup the DialogParticipation.Register which I inject to Page ViewModels. So far this approach ...
Jim's user avatar
  • 2,828
0 votes
1 answer
267 views

How can turn off MahApps Button transparent effect?

I have a MahApps button as follows: <Button Style="{StaticResource MahApps.Styles.Button.Chromeless}" Foreground="Blue" Content="{icon:Modern Kind=Add}"></Button&...
Shikihane's user avatar
0 votes
1 answer
42 views

How to exclude InfoBarMessageControl in Orchestra Shell MahApps?

I'm building an application using the Orchestra MahApps shell (built on Catel), but would like to exclude the InfoBarMessageControl. It seems there is an option in the Catel DataWindow constructor to ...
Nick's user avatar
  • 1
1 vote
0 answers
609 views

Mahapps metro: How to add an extra button to ShowInputAsync() dialog

In my WPF app I am using MahApps Metro framework. For a test, I am using ShowInputAsync(...) dialog (as shown below) to have user enter product key. I would like to add another button or a link to ...
nam's user avatar
  • 23.4k
1 vote
1 answer
1k views

Why is the CheckBox Content color not changing?

I'm using MahApps.Metro for my WPF app. As shown in the image below, the Forground color of a CheckBox remains default (black) if I try to change it to white. Question: How can we change the content ...
nam's user avatar
  • 23.4k
0 votes
1 answer
594 views

NumericUpDown doesn't reflect change in bound value

I have a View with a NumericUpDown control, which doesn't work like I expect. Tried Exceed/NumericUpDown and MahApps/NumericUpDown - same problem. It is defined like this: <mahapps:...
Alexey Titov's user avatar
0 votes
1 answer
512 views

Using MahApps, how can we change MouseOver style of Expander's ToggleButton?

My WPF is using MahApps metro framework. As shown in figure 2 below, a mouseover on the header of any Expander control of the app makes the ToggleButton of the header almost invisible. Question: How ...
nam's user avatar
  • 23.4k

1
2 3 4 5
18