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

learn more… | top users | synonyms

0
votes
1answer
19 views

.net 4.5 software dont work except on the pc i created on it

hello i did make a software with .net 4.5 and wpf and the software work as charm on the PC i developed it on. But when i try to install it on any other pc with the same windows (7) and with .net ...
0
votes
1answer
16 views

Binding WPF - escape charakcter “@”

I've problem with Binding to variable which name startswith @. Code: <TextBlock Text="{Binding @object.name}" Grid.Column="2"></TextBlock> Anyone knows how to do it?
1
vote
4answers
34 views

WPF Button Background Issue

I have a grid control that has 25 buttons ( the grid contains only buttons ). And for each button i set the same image like this: ImageBrush brush = new ImageBrush(); BitmapImage bitmap = ...
0
votes
0answers
23 views

TabControls containing different user controls using MVVM

I am making a WPF application following MVVM. What I want in my application is that there is a View which contains some common buttons and text boxes and a TabControl. TabControl will basically host ...
0
votes
0answers
9 views

Exception at MS.Internal.AppModel.ResourcePart.GetStreamCore()

We have developed an application for Windows7 using WPF. This application executes properly on Win7 English OS (32 bit and 64 bit). However, the application throws an exception on Win7 Japanese OS ...
1
vote
0answers
14 views

Windows Phone and lexer/parser

Simple question: How do I use a lexer and parser to develop Windows Phone apps? (7 or 8) I tried to look for some kind solution or just few tips, but google doesn't give me any answers. I need it ...
0
votes
0answers
7 views

WPF Slider VisualStateManager

I'm trying to do my own Slider Style in XAML, but i don't get it quite right. The VisualState x:Name="Pressed" is not being triggered. ... <ControlTemplate TargetType="Slider"> <Grid> ...
0
votes
0answers
14 views

WPF Xamdatagrid MVVM issues

I have a problem in loading my xamdatagrid in wpf using mvvm. First is the constructor in my .cs wherein i call the View model with one constructor. But my grid is not been inititalised when ...
0
votes
0answers
18 views

Check if a WPF window was rendered

WPF windows raise a ContentRendered event if they are rendered. However how can I check if an existing window object already has been rendered? I could not find a IsContentRendered property. ...
0
votes
1answer
10 views

DataGridTextColumn is highlighted only on textblock when selected after defining an alignemnt

I have a datagrid which I define the styles and columns in code behind as following : My_Data_Grid.ItemsSource = an_observableCollection ; Style my_Style = new ...
0
votes
0answers
28 views

Databinding foreign key contraints to a form

In my control I am setting the datacontext of an items control which generates a control like this. this is the data template... Basicaly, as you can see, I am Binding single values of en EF entity to ...
0
votes
1answer
26 views

Command called too late

I have a ComboBox that looks like this: <ComboBox SelectedValue="{Binding Mode}" SelectedValuePath="Key" ItemsSource="{Binding MyModes}" DisplayMemberPath="Value" > ...
0
votes
0answers
14 views

How to Resize UserControl & its inner controls on window resize in WPF?

I am new to WPF programming. I have a UserControl which is Content of DocumentPanel in Ribbon Window. Problem is when i Resize the window it Clip the Control and their is not scroll bar. What to do to ...
0
votes
0answers
13 views

Reuse Menu.ItemContainerStyle

I have created the following menu. Now I want to use the same menu layout on a different window and thought about shifting the below code to the Generic.xaml and only reference it, whenever I need it. ...
-4
votes
1answer
29 views

Unclear about the Error why we are getting the exception [closed]

Message: The parameter value must be greater than zero. Parameter name: textLength Stack Trace: at MS.Internal.TextFormatting.TextMetrics.FullTextLine.GetTextBounds(Int32 ...

1 2 3 4 5 4369
15 30 50 per page