Hi,
I using one header control in wpf application in that I am using Grid and in that grid I am putting List box some buttons
and text box. I want to make that text box scrollable. Can you please give me the solution
...
Hi,
I am Binding my wpf DataGrid to an ObservableCollection from code. I am adding the columns by code (as they may change on every report)
The UI Deisgner now wants a Column wiht Images for "Delete this row" and "do a special action" on this row. So two Images in one column, and when clicked different behaviour.
Any ideas how to get t...
Does anyone know of a good WPF based control for doing 3 Axis Plotting? Needs to be able to take possible 3600 points and create a 3D surface like a iso map.
Must take X, Y, and Z. NOTE: Must be performant because it has to run on low powered machines.
...
I'm considering switching from MFC to WPF.
My first concern is that there are too many users who don't have .NET with WPF installed yet. Can anybody point to a source containing the WPF penetration numbers?
My second concern is speed.
Any other considerations?
...
Hi,
Im showing a video int my application, but its being chopped up, its locally on disc so I dont understand why this is so... any way i can start to preload it before playing it - so the content would be buffered?
EDIT: Im playing a wmv HD video from the samples provided by Microsoft. I play the video using a MediaElement:
MediaEleme...
Although Hungarian notation is considered bad practice nowadays, it is still quite common to encode the type in the name of user interface elements, either by using a prefix (lblTitle, txtFirstName, ...) or a suffix (TitleLabel, FirstNameTextBox, ...).
In my company, we also do this, since it makes code written by co-workers (or by your...
I have a WPF/C# situation where I have a horizontal list of items and the user can navigate forward and backward through the list.
Assuming the list has 5 items, below are three mock-ups of the UI (initial, and after the user clicks the right arrow twice.
< [1] [2] [3] [4] >
< [2] [3] [4] [5] >
< [3] [4] [5] [1] >
So, basically, the ...
I want to work with a DataGrid in XamlPad. How do I reference the WPFtoolkit dll?
I've tried adding a xml namespace reference (below) but w/o any luck.
xmlns:toolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit"
Any thoughts or help would be appreciated - thanks!
...
Hi
In WPF, I want to create a Window that looks like the following:
On the screen are four user control, #1, 2, 3, 4. As you can see, user control 2 should not be rendered as a box, but inlined.
If this were a WPF flow document:
1, 3, 4 would be a paragraph (boxing)
2 a run (inlining)
The reason is that 2 could be used i...
I am trying to load a preferences window for my application and I would like the apply button to initially be disabled, then when a preference is updated, the apply button gets enabled again. I have some controls data bound to a preferences object and what happens is that after the window loads, the combobox events get triggered. Is th...
I'm using the WPF toolkit datagrid, and I'd like to set the background color of a cell, not the row, based on the content of the cell.
For the sake of simplicity, lets say the column is called Foo and I'd like the background of the cell to be blue when Foo is 1, red when Foo is 2, Yellow when Foo is 3 and Green when Foo is greater than ...
Hi!
I am currently writing a WPF TreeListView.
I was wondering a couple of things.
How does the Hierarchical Data Structure work and can the children display other properties instead of the same property as the parent?
Currently I am trying to make a treelistview with the columns
Client / Matter / Hours
If i add a client and it ha...
I've got a situation where I need to resize a large number of images. These images are stored as .jpg files on the file system currently, but I expect to just have byte[] in memory later on in the project. The source image size is variable, but the output should be 3 different predetermined sizes. Aspect ratios should be preserved, paddi...
Hi,
I want to create a datatemplate (in code, but thats not the point) which allows me to click on an item and set its bool value. What I managed to create was a combination of CheckBox and TextBlock, which is colored depending on the bool value.
So far so good... But how can I tell WPF: If anybody clicks on the TextBlock, change the b...
I am trying to show a Font picker list similar to the one in Blend:
Like Blend, I am seeing performance issues when the FontFamilies are not loaded in the FontCache.
It seems that the penalty I am paying is the time it takes to actually render the FontFamily for the given FontSize and save it into the FontCache. Once the rendered fo...
I know there has to be an easy way to do this, I just can't think of it. I need to display a set of notes in a WPF application. The layout for each note would be
Note Name Note Date
Note Text
Each item above exists individually in my database access layer and I just need a way to display it. In ASP, this is something I might have cre...
In a WPF application, when a user clicks on a button I want to open the Windows explorer to a certain directory, how do I do that?
I would expect something like this:
Windows.OpenExplorer("c:\test");
...
I know that there are some easing functions for silverlight and WPF 4.0 coming out.
But I really need some for my own project, and I cant seem to find any on the net (not for WPF 4.0)
Does anyone know any implementations or perhaps ports from Silverlight that I could use?
Thanks
Mark
...
How do I make a WPF control to change its size according the content in it?
...
I am going to be coming up with a design for calling WCF services from our WPF front end clients. One thing I really don't like is the tight coupling of a WCF service's configuration to the client. I have read a couple of articles on ws-discovery in .NET 4 and was wondering whether this would be a common model that people use for handlin...