Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.

learn more… | top users | synonyms

0
votes
1answer
12 views

WPF ComboBox get highlighted item

I'm trying to get the value of the highlighted item in a ComboBox. This because I want to show a different ToolTip based on the highlighted item. I have found some informations here: ...
1
vote
1answer
22 views

How to access a control inside DataGrid.RowDetailsTemplate?

Following is my XAML: <DataGrid.RowDetailsTemplate> <DataTemplate> <DataGrid Name="innerGrid" IsReadOnly="True" AutoGenerateColumns="False" Margin="10,10,5,5" Width="400" ...
0
votes
1answer
16 views

WPF: MediaElement to play online videos

I am creating a WPF media player using MediaElement class in WPF. Here i can play the local videos (Available in my PC) but i cannot play an online video. Can anybody knows what i have to do for this? ...
1
vote
2answers
22 views

Quit application from a user Control

I have a MainWindow in my application. The MainWindow hosts a UserControl in its ContentControl(I call this MainPage). MainPage goes onto hosts another UserControl which contains all sorts of controls ...
2
votes
0answers
29 views

Text effect to enhance readability of small fonts

In a view I have a smaller font, foreground is white and background is dark grey. At the moment I use a drop shadow effect like <DropShadowEffect BlurRadius="0" Opacity="0.99" ...
1
vote
0answers
23 views

How to bind Windows Form Control to a “Grid” Panel using MVVM in WPF

I am attempting to use MVVM to Bind a Windows Form Control to a panel in WPF. My overall objective is to be able to dynamically change which specific Windows Form Control I will use as I plan on ...
0
votes
1answer
13 views

How do I perform sequential BringIntoView calls in WPF?

We have a TreeView in our application with the following requirements: When an item is added: The newly-added item is scrolled into view The parent of the newly added item is also scrolled into ...
0
votes
1answer
11 views

My style doesn't inherits the mahapps style

I'm using MahApps to create a Modern UI app. I want to create a style for all the GroupBoxes present in my UserControl. To do that I wrote this code : <Style TargetType="{x:Type GroupBox}" ...
1
vote
1answer
22 views

Creating not rectangle control for input

Writing an app for Windows Phone, I want to create custom control, inherited from TextBlock. But form of this control should be not rectangular. I tried to use Blend for this task, but I couldn't find ...
1
vote
1answer
17 views

WPF Binding style to another control's property

So i have a style for a treeview that is failing to bind correctly. I have bound height to the graph height property of the user control the style is used in. However, it doesn't find the user ...
0
votes
0answers
27 views

How to put binding in binding?

I'm try create the language change system, binding data with XML file In my XML <Label> <Save>Salvar</Save> <Load>Carregar</Load> ...
0
votes
1answer
15 views

WPF switched from DataGrid to telerik RadGridView now there is a lag

i just switched from DataGrid to RadGridView and now when i try to load data it takes about 30 sec. When i was using DataGrid it would just load up without a lag. All i added was the XaML below and Sr ...
2
votes
2answers
43 views

Get the name of the parent user control WPF C#

I have access to User Control A. I want to get info on User Control C. Is there any way to do this in WPF? The structure is basically what you see. User Control D is a ribbon, C is a tab on the ribbon ...
2
votes
1answer
37 views

IoC is not initialized on Win7/XP

I'm facing a quite strange problem trying to run a WPF application on Win7/XP. The WPF application targets .NET 4.0 and it references Caliburn.Micro 1.5.2 and Autofac 3.1.0. I'm going to start with ...
0
votes
0answers
12 views

Error using StaticResource as Storyboard for a VisualTransition

I have a VisualTransition inside of a VisualStateGroup for a Button control. The Storyboard property is bound to a StaticResource Storyboard: <VisualTransition From="MyLock" To="Unlocked" ...

1 2 3 4 5 4478
15 30 50 per page