Extensible Application Markup Language (XAML) is an XML language used for defining user interfaces in WPF and Silverlight.

learn more… | top users | synonyms

3
votes
1answer
35 views

CollectionViewSource Filter trigger for multiple controls

I have some markup: ...
4
votes
2answers
74 views

Code Explorer UI

The third post in the Code Explorer series is about the UI and main VM. This is the XAML, except a few hundred lines of styling: ...
0
votes
0answers
31 views

User control wpf can't create by myself

I need some help with this control. I've created this but I don't like how I have done it. Could somebody review my xaml code and give me some advise how can I improve it? The control I have to ...
1
vote
0answers
27 views

Binding an ObservableCollection<BitmapImage> to a FlipView Properly

I am currently working on a Universal Windows Platform App. It involves using a flipView to display a certain number of pictures in the user's picture library e.g ...
6
votes
1answer
88 views

Creating interactive tours for WPF applications

I am developing a WPF component that can be used to create interactive tours for WPF applications. To further improve the API in terms of usability and intuitiveness, the input of other developers is ...
5
votes
1answer
106 views

MVVM: Am I doing it right?

I read a lot of articles recently concerning XAML, WPF, data binding and MVVM. I also watched some MVVM tutorials and downloaded some MVVM samples. I finally got my first MVVM sample to work, but ...
3
votes
1answer
73 views

Uploading .dll files to a local computer

I have created a simple application that has grown a little bit. Though most likely it won't grow anymore, I have looked back and I realized that it has become a little monster in terms of how many ...
4
votes
1answer
52 views

FindAllReferencesCommand 2.0

Rubberduck 2.0 will feature a "Search Results" dockable toolwindow that will be used for displaying the results of Find all references, Find all implementations, and whatever else we need to find. It ...
5
votes
1answer
70 views

About Window in XAML

I just redid Rubberduck's About window in XAML: I do not like my XAML very much. The way I place the StackPanel for the white pane over two rows, only to ...
3
votes
3answers
87 views

Unit Test Settings

Recently, I redesigned the Rubberduck settings pane. Here is the unit test settings view, which is posted in this question: The part we are referring to is the section in the right pane. The rest ...
3
votes
1answer
58 views

Displaying inspection results, grouped per user selection

The Rubberduck 2.0 Code Inspections UI was recently redesigned (again!), this time featuring a GroupingGrid control (thanks @BrunoCosta!), and what appears to be a ...
1
vote
1answer
50 views

Randomly choose a game executable from a folder 2.0

After asking Randomly choose a game executable from a folder, I applied the recommended changes. I also redesigned the program to make use of the MVVM (Model-View-Viewmodel) paradigm, using Prism 6.0. ...
4
votes
1answer
88 views

Saving User Settings in Univeral App for Windows 10

I am a self-taught programmer, so please be gently. Please give as much feedback as possible for my code. I want to make sure I am doing things the right way and efficient way. What is the proper ...
4
votes
1answer
71 views

Randomly choose a game executable from a folder

I've written a Universal Windows Application which allows you to select a folder and shows the icon and name of a random executable from anywhere in that folder. The intent is to be a Game Roulette, ...
5
votes
1answer
1k views

Navigation between pages in WPF MVVM application

EDIT: Here is the code repo: https://github.com/AntwanReno/navi I did a project in WPF MVVM. Just a single Window with single ...
5
votes
1answer
78 views

Categorize episode-file names - Follow up

This is a follow up to this question. I have implemented changes to the code as they were suggested in the previous question and have made a few changes of my own. But it has been mentioned that the ...
9
votes
1answer
111 views

Code Explorer 2.0: A folder hierarchy to organize VBA projects

Next release of Rubberduck will introduce a very cool @Folder annotation system that the Code Explorer will use to organize modules into - you guessed it - folders: ...
11
votes
2answers
102 views

Markdown Markup Editor: MK2

Following on from this question I have added some more functionality to Markdown Markup, and made it more WPF idiomatic. It now supports saving data from any of the four boxes, and loading Markdown ...
5
votes
1answer
100 views

Markdown Markup Markleft Markright Editor

I have a blog that I occasionally post to, but it's a PITA because of the fact that it has it's own WYSIWYG editor and doesn't support Markdown. So I have to switch the WYSIWYG editor to the HTML ...
5
votes
3answers
801 views

Crack the safe, find the right combination

I recently started C# and I've got the feedback that I still repeat too much. How can I make it less repetitive? ...
1
vote
1answer
150 views

Nested Grids layout with ScrollViewer and TextBoxes with wrappable text

I need to handle a resizable WPF ScrollViewer that scrolls vertically and stretches horizontally and contains stretched wrappable TextBoxes. I have the following XAML WPF layout (the smallest example ...
8
votes
1answer
158 views

TestExplorer 2.0 - From Grid to TreeView

Rubberduck's unit testing feature (heck, the whole project) started with a VBA unit testing framework that was ported from vba to c#; the VBA logic was pretty much simply rewritten in another language,...
4
votes
2answers
490 views

Calculator with WPF

I built a calculator in C# with WPF for the UI. I'm still a beginner at WPF and C# in general, and I'm just looking for some constructive criticism. XAML ...
4
votes
1answer
1k views

WPF DateTimePicker user control

I've created a UserControl that should act as a control inside a Window: XAML: ...
10
votes
4answers
464 views

Resx Editor in WPF

To aid in the localization of .resx files, I made a generic resx comparer that allows you to edit the values of the resx's. Also, this is my first proper adventure in WPF (I've just been using ...
2
votes
1answer
538 views

WPF Data binding alternate datacontext inside Itemscontrol

What I'm trying to do is bind the controls generated by a ItemsControl.ItemTemplate to a new instance of my ContactInterface ...
10
votes
2answers
207 views

Settings, setting settings, and settings handlers

So, back in this question, I built a set of settings. Now, I am trying to clean the entire system up. This is the abstract base class: ...
12
votes
2answers
755 views

MVVM data binding for a video encoding form

I am creating a C# WPF application. I am intending to bind all of the GUI controls via data binding to my ViewModel, rather than code behind - as per MVVM. I have ...
4
votes
1answer
1k views

Insert String array as label content in datagrid row through radio button

I have written some code for inserting a label at runtime that has its content set to a string array into a datagrid row. All of this will initiate when certain radio buttons are checked. The code is ...
4
votes
1answer
108 views

Link to WinRT XAML code optimization

I need a method which will parse text to RichTextBlock-compatible XAML markup with clickable links. Example: Input: ...
0
votes
1answer
52 views

Prefered Style Container for the Components in the DataTemplate

The following XAML is a close (tidied up) version of what I have use in my WPF application. If you have noticed there are two Styles applied to the same component (<...
5
votes
2answers
77 views

The cycle continues - VM's part 4

So, this is my refactored VM: ...
5
votes
1answer
173 views

Dynamic display of number converted to different numeral system

The program is displaying given number (right now it is only signed int) converted to different numeral system (binary,octal and hexadecimal for now). Number can be input in the text box and the ...
2
votes
1answer
318 views

Creating automatic resizing of subelements in WPF

I currently have this code: ...
5
votes
1answer
194 views

Handle Settings in Windows App

So, I fixed my problem with a public ViewModel for my MainPage like this: MainPage.xaml.cs: ...
4
votes
2answers
156 views

MVVM, Navigation, and More - Part 3

This is actually a second follow-up to Correct MVVM format, but I have made different changes. This is my ViewModel.cs class for my MainPage.xaml: ...
4
votes
1answer
146 views

MVVM, Navigation, and More

Continuation of Correct MVVM format. This is what I have done so far, and of course it works: To start with, this is my MainPage.xaml: ...
4
votes
1answer
202 views

Correct MVVM format

I have a Windows-Runtime app (very similar to WPF), and I am using (at least I think I am!) the MVVM style. I want to make sure I am doing this the proper way, and not just a working way. This is my ...
5
votes
2answers
3k views

WPF UserControl

I wrote my first WPF UserControl today, and I would like you to review it. Its purpose is to have images by default resize with the page, but expand to full size with a double-click: ...
4
votes
2answers
185 views

Display submenus

I am displaying menus and submenus in my WinRT app, and I think I am doing it wrong. I have thought I was doing it wrong for a long time, so here it is for review. This is the section in my ...
5
votes
1answer
139 views

XAML Markup Improvements

I have a Windows Store and Windows Phone app, and in this app I have many pages like this: ...
18
votes
1answer
423 views

Simon Says: “Make me a circular window”

This is my first time messing with non-rectangular windows and animations in WPF, so while I'm working on all the bugs I'm having with the actual game code, I'm submitting the XAML for review - I don'...
15
votes
2answers
2k views

Understanding the MVVM concepts and validation of my code

I have been learning MVVM concepts and trying to implement it in my new project. I want to validate my work that I have been doing these past days. I want to know if I follow correctly the MVVM ...
6
votes
2answers
2k views

Noughts and Crosses WPF app

I've been learning C# and was looking for some feedback on my latest project, which is a standard Noughts and Crosses game. Two people are required to play (no AI yet). MainWindow.xaml.cs ...
2
votes
2answers
6k views

Access View from current/corresponding ViewModel

Sometimes when developing a WPF application, I need to access a certain Window (View) from the corresponding ...
2
votes
1answer
598 views

ViewStateManager for more than just Controls?

Okay - so basically I have a login form that has a couple of 'states' it needs to display (connecting, input credentials, authenticating, invalid credentials, etc...etc...) - in the past I've ...
2
votes
1answer
390 views

Rewriting WPF GridViewColumn alignment in a less verbose way

I wanted just to right align one column in WPF and I found out that the syntax is not exactly syntetic... Is there a way to make it more syntetic? Consider that this one colum, but I have 20 columns ...
6
votes
1answer
364 views

Alternative to a Grid in a StackPanel form for an easier way of inserting new rows

In my real life example I am at a layout stage and before I actually move any further I would like to review my current approach. I am still learning about UI, XAML on WPF technology and I guess I ...
10
votes
1answer
8k views

Is there a better way to get a child?

I have written the following code to get ImageColorPicker child: ...
11
votes
1answer
814 views

Lots of Storyboards in XAML, huge file

After spending a few ages writing out every combination of triggers, bindings and storyboards, I finally managed to get my program working. First time working with WPF, so I made a big mess. Now it's ...