I am looking for a sample line of business app that has source code available. I am just starting out with WPF so something with a GUI that add, update and delete from a db will be perfect.
What does InitializeComponent() do, and how does it work? (WPF)
In general first, but I would especially be interested to know the gory details of order of construction, and what happens when there are AttachedProperties.
I'm trying to override the cursor for the entire computer
this.Cursor = Cursors.Pen;
System.Windows.Input.Mouse.OverrideCursor = Cursors.Pen;
This works within the WPF "Window", but not anywhere outside it.
What .dll will let me do this?
I'm a longtime C/C++ Unix guy. I recently started work in a new position that's gonna eventually require C# and WPF (and probably some LINQ). What are the best resources to quickly come up to speed on all these Microsoft technologies? Years ago I read Petzold's book and loved it because it was so complete and by the end I really felt like I knew what I was doing... Is their something equivalent for the .NET world?
I have a TreeView control that I have created in XAML in a WPF program
After adding a couple nodes at the root level, I have written code that loops through the tree structure like so:
ItemCollection items = treeView1.Items;
foreach (TreeViewItem n in items)
{
...
}
Once I find the place in this loop where I want to include a child node, how do I go about inserting a child?
Hello,
I would like to ask how can I implement movement of an object in WPF so that during the movement the object changes (e.g. creature's legs are moving; generally the question targets the problem of changing frames during movement).
Thank you for any suggestion!
I have a group of buttons that should act like toggle buttons, but also as radio buttons where only one button can be selected / pressed down at a current time. It also need to have a state where none of the buttons are selected / pressed down.
The behavior will be kind of like Photoshop toolbar, where zero or one of the tools are selected at any time!
Any idea how this can be implemented in WPF?
Hi All,
I have horizontal wpf listview and i want to scroll all items on left/right button click.
So that when i clicked on Prev/Left button listview items moves to left and on Right/Next button click listview items moves to right.
Like jQuery Carousel
I am playing with DxScene and VxScene:
http://www.ksdev.com/dxscene/index.html
It looks very nice and powerful: 3d accelerated vector graphics, cross plaform, nice effects, many 2d GUI controls (vector based), good scaling, transparency, rotating (x, y, z), 3d models, etc. Even with many effects, the CPU stays very low (0%)!
http://www.ksdev.com/dxscene/snapshot/screen0.jpeg
But can it be seen as a good WPF alternative for Delphi?
And does anyone use it instead of normal Delphi VCL?
How could I make WPF textbox control exceed the maximum size limit? Don't tell me to use richeditbox or AvalonEdit control, since the richeditbox would be performance issues while has large amount of content inside. Thanks
Hi,
In a WPF app, in MVP app
I have a combo box,for which I display the data fetched from Database. Before the items added to the Combo box, I want to display the default text such as " -- Select Team --" , so that on pageload it displays and on selecting it the text should be cleared and the items should be displayed.
Selecting data from DB is happening. I need to display the default text until the user selects an item from combo box.
Please guide me
Thanks
Ramm
I have a WPF ListBox control (view code) and I am keeping maybe like 100-200 items in it. Every time the ObservableCollection it is bound to changes though it takes it a split second to update and it freezes the whole UI. Is there a way to add elements incrementally or something I can do to improve the performance of this control?
in wpf datagrid how to get the blank row on top? ie when user wants to add new row, it always comes at the bottom. But I want it to be on top ... can i do this in XAML ?
How could I implement a bleach bypass shader effect for WPF?
I'm also interested in the possibility of implementing the first two Tehnicolor Film Processes, or any variety that would result in an old film look.
In a WPF app, is there a object I can assign to FileSystemWatcher.SynchronizingObject?
I can make my own, but if there is one available, I would like to use it.
I'm tasked with creating a multi-touch application but I don't have a multitouch screen or device and ours don't arrive for a month (Grr!)
Is there some kind of emulation or cheap USB device that we can get that will work with WPF in .NET 4 for the interim?
When I click a cell in a WPF datagrid, the whole row is selected, and when I press Ctrl + C to copy the content, the whole row i copied...
How do I select and copy the content of a single cell?
The .NET WebClient class is nice and all, but it doesn't parse the JavaScript in the page.
What I mean is, sometimes a page is forwarded to a different page via JavaScript, or sometimes DOM elements get added to the page via JavaScript with an onload event. I need to deal with both of these situations.
What can I do to deal with this? I'm using WPF if that matters.
Hi!
i have created tree view demo in Visual Studio 2008 C# in WPF but i want to give header and when header is clicked it sort data. i want to create demo like this
header1………….header2……….header3
-parent1…………..parent2………..parent3
…-child1……………-child1………….child1
……child1……………-child1…………child1
-parent2…………..parent2………..parent2
…-child2……………-child2………….child2
……child……………-child2…………child2
parent3…………….parent3………..parent3
plz suggest any link or samples code. thank you!
I'm going to be making a user control for person information, I will then populate a panel of some sort with the ammount of people found (one user control for each person).
Can WPF handle this?