Questions tagged [modern-ui]

ModernUI for WPF is a set of controls and styles converting WPF applications into "Modern UI" Windows applications.

ModernUI for WPF is a set of controls and styles converting WPF application into a "Modern UI" Windows applications. This open source project is a spin-off of XAML Spy, the visual runtime inspector for Silverlight, Windows Phone, Windows Store and WPF.

268 questions
2
votes
1 answer

Modern UI : How i can select TAB from Moderntab by code

I have a ModernTab control, to which I'm dynamically adding a Link: var link = new FirstFloor.ModernUI.Presentation.Link { DisplayName = "Otra Ventana", Source = new Uri("/pages/operations/confirm.xaml", UriKind.RelativeOrAbsolute)…
medow
  • 33
  • 3
2
votes
0 answers

WPF bind mouseleftbuttonup to viewModel and get link clicked name

I'm using Modern UI for my WPF project. I have 2 questions: I have mui:ModernTab Layout="List" which means a ListCollection, and i want to bind a click on one of the Links (I guess to bind mouseleftbuttonup), is it possible? (I need it because i…
Ben
  • 201
  • 1
  • 4
  • 13
2
votes
1 answer

How to add Modern UI WPF style to MVVMLight application?

I am trying to use MVVMLight toolkit along with Modern UI WPF to create a new WPF application using c#. I created a new MVVMLight-based project. I installed the Modern UI WPF using Nuget. I added the following xaml to Application.resources section…
Junior
  • 11,602
  • 27
  • 106
  • 212
2
votes
0 answers

Need direction as to how to properly invoke a ModernDialog from a VM

Depending upon certain conditions a WPF app I'm working on has to be able to bring up a dialog box, to remind the user to save their data. We're using ModernUI for our basic look-and-feel. We're also using MVVM Light. The problem I'm struggling with…
Rod
  • 4,107
  • 12
  • 57
  • 81
2
votes
1 answer

How to get the DisplayName of the selected ModernTab in ModernUI?

I create dynamically ModernTab in the code behind with their informations (DisplayName and URI source). Initialization of the ModernTab:
281
  • 59
  • 5
2
votes
1 answer

Winzip Theme for WPF

The Winzip theme is Modern UI. But it looks like a shared theme Winzip: Advanced Installer SmartFTP Also I looked at these themes MahApps Metro Modern UI But these application themes are not them. So what is they theme? And with witch program…
Hirbod Behnam
  • 577
  • 2
  • 7
  • 26
2
votes
0 answers

How to set Event Handler for element inside inherited Resource Dictionary in WPF Modern UI

I'm trying to overwrite some Modern UI templates. In this particular example I'm trying to put my own logo to ModernWindow with link to my web site. So, I added ModernWindow ResourceDictionary to my Themes folder like this:
Bryuk
  • 3,295
  • 10
  • 45
  • 74
2
votes
1 answer

WPF Metro UI Charts - Negative Values

I am trying to use the Library WPF Metro UI Charts, which is derivated from Modern UI Charts. However i'm having trouble with ClusteredColumnChart when i try to use use charts inside a Page instead of a Window. The graph always show negative axis in…
dionesf
  • 177
  • 8
2
votes
3 answers

C# WPF XAML Run XAML Command on UserControl load

I am trying to execute a XAML command, when the Usercontrol gets loaded. The reason for that is that i want to change the theme of my application when the user navigates from Usercontrol A to Usercontrol B. I am using Firstfoor ModernUI. The Code I…
NemeZiz
  • 27
  • 1
  • 6
2
votes
3 answers

Use CSS in Java Applications

I am working with Java for quite some time now and now I wanted to make a new Application and I was wondering, if it would be possible to make Java look more modern with new buttons and things like this. So I started searching for solutions to apply…
JetStream
  • 809
  • 1
  • 8
  • 28
2
votes
0 answers

Remove windows padding Modern UI

How can i make the black and the blue component hit the application borders? I don't want to have those white spaces at the edge. I tried by setting the padding to 0 in the Main windows and in both childs views and nothing happended. I searched but…
Misters
  • 1,337
  • 2
  • 16
  • 29
2
votes
3 answers

How to change MetroFramework style color to all control

I'm using MetroFramework in my desktop application and set all the themes color ad default while making the change in parent form I want to update all child form and control color as par themes color. Check the design…
Sunil Acharya
  • 1,153
  • 5
  • 22
  • 39
2
votes
2 answers

How to do data-binding to menu links using WPF Modern-UI

I am learning WPF and I find out that Modern-UI is really awesome to build WPF applications. However, I could not find a way to do binding to the content of menu links (the DisplayName attribute) with Modern-UI. Currently, I can change the…
h2nghia
  • 432
  • 5
  • 15
2
votes
1 answer

WPF Modern UI - DialogResult with Icon

My question is related to the Modern UI template for WPF Desktop applications. My goal is to create a DialogResult with an icon image. ModernDialog Dialog = new ModernDialog(); Dialog.Title = "DIALOG EXAMPLE"; Dialog.Buttons = new Button[] {…
2
votes
1 answer

How to get an URI from a c# object

I'm trying to develop a small program in ModernUI. I have a small database with personal infos (for now its just a class where I have a testPerson). I want to add a new link with a source in c# code. Adding the Link and Source is not a big…
Kuchen
  • 108
  • 7
1 2
3
17 18