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

learn more… | top users | synonyms

1
vote
0answers
23 views

RichTextBox input is very laggy

I've got a RichTextBox, with a very small amount of text in (less than 100 characters including line endings). I have one event (TextChanged with an empty body), no styles, and the window is pretty ...
0
votes
1answer
15 views

WPF. Prevent MainWindow from cropping controls it contains because of resizing

For example I have this simple markup in my MainWindow.xaml: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition /> ...
0
votes
1answer
24 views

How to move rectangle in the grid

the Rectangle in a table made by grid(4*4) , i want to move it by keboard up.right.left and down <Rectangle Name="pic" Grid.Row=" 0" Grid.Column="0" > <Rectangle.Fill> ...
0
votes
1answer
15 views

Trouble with setting both DataTemplate and ControlTemplate to Map Pushpins in WPF

I am having trouble setting both DataTemplate and ControlTemplate to my bing map pushpins. I am using data binding which works to a point when i try to customize my pushpins by adding ControlTemplate. ...
1
vote
1answer
25 views

How to add Color Picker control in WPF?

I'm creating WPF Application. I am not able to find ColorPicker control. Is there any Dynamic Linked Library is there to add color picker control in my VS 2010. please help me.
0
votes
2answers
17 views

How to clone Canvas Control wpf?

Currently I am working on desktop application. In which,I am printing Canvas Control using PrintVisual Method of print dialog. I am passing canvas From View to view model as Command Parameter. In view ...
1
vote
1answer
23 views

Execute command when a binding updates?

Is it possible to have a command execute when a binding is triggered? i.e given <MultiBinding Converter="{StaticResource someConvertor}"> <Binding Path="FirstName"/> ...
-3
votes
0answers
25 views

C# WPF: TargetInvocationException was unhandled Error [closed]

I keep getting this error every time I try to debug my program. I have never seen this error before and am needing help to fix it. http://imgur.com/nydnULN
2
votes
1answer
32 views

Dynamically store user data

First, I have a table look like this: Then, from my code, I have a method to check user permission public bool HasPermission(Guid userTaskId) Every time I insert new row into usertask table ...
0
votes
0answers
21 views

WPF DataGrid - Can I decorate my POCOs with attributes to have custom column names?

I have a DataGrid in WPF and fill it with data like this: public enum Sharing { Equal, SurfaceBased, } public class Data { public bool Active { get; set; } public string Name { get; ...
0
votes
3answers
36 views

system.windows.form.key in WPF c#

I'm new to WPF and I want to use 'Keys' object in WPF. That's how my code looks like in WinForm public List<Keys> keysList= new List<Keys>(); I want to use this in my WPF app but it ...
0
votes
0answers
12 views

Motoroloa barcode scanner beam width

In my application, am using Motorola barcode scanner to scan barcodes. Here i have question, that is "Is it possible to reduce the width of the Beam that is sending from the barcode scanner?". Please ...
1
vote
1answer
20 views

WPF - Datatemplate Not getting applied in listbox itemtemplate

i am trying to add datatemplatate on listbox which contain some sample data, but their seems to be no effect on listboxitem of my dataTemplate, following is the code used- <Page ...
1
vote
1answer
25 views

Databinding and property datatype

Quick question. I understand how properties work with the get and set methods, but how should I be using them when bound to textboxes. Should all of my properties be strings and then validated from ...
1
vote
2answers
40 views

Copy a folder to another place using C#/WPF

I would like to explore directories , select a folder then copy a content of an existent folder to this new directory . I am using this code , but it doesn't work out The folder that I wanna copy it ...

1 2 3 4 5 4381
15 30 50 per page