wpf

Advice on deploying CRUD WPF clients for fairly small applications

Let's say I want to create an application, fairly simple CRUD with 3-5 tables. Imagine a Todo list application for example. What is the best way to approach the data layer in WPF for this to be a click-once application. I'd rather not do it in the cloud (although if I can add an easy backup process in the background, that's a big plus)....

Crystal report or flow document in WPF

I have wpf application and it needs report printing. for example daily, monthly sales. Should I use Crystal report or Flow Document with tabular will do? I know this is naive question. I need faster and free reporting solution.... thanks ...

WPF Prism and Ribbon samples/tutorials

Hi, I'm looking for a WPF prism with ribbon application samples and tutorials. I have found many that cover prism or ribbon but only a few sources provide any information about implementating those two together in one application. No course code usually in available tough. An example with a few simple modules and a classical ribbon tab c...

need Idea for app in WPF

I've finnished to read all the topics of WPF and I want to develop an application so I'll be sure I got it. I want it to include all the topics : binding, converters, UCs , MVVM , templates .. etc. any ideas ? ...

Create a context menu using VS 2010 designer?

Hello, I need to create a context menu, is it possible to do this using the VS 2010 designer / see a preview while writing your xaml code? Thanks for any hint! ...

How to design a wpf application with multiple interfaces

Hi, I'm trying to learn how to design an application which has several different user inferfaces. its an application where a doctor can view patient records, write prescriptions and so on. when designing this one(including the login) I have created seperate user controls for login, prescription writing, medical history browing and set a...

ContextMenu: Remove the icon column and unnecessary space?

Hello, I need to remove the icon column and the unnecessary space on the right side of a contextmenu. Here's a screenshot explaining it: Thanks for any hint! ...

Images in WPF 4.0 are of lesser quality than in 3.5

Hello, I just updated my app to .Net 4.0 from 3.5sp1 Which included removing references to the toolkit and exhange them with system.xaml. Some more reference changing was required by me but I dont quite recall what they were. Anyway, after I compiled and run it the the first thing that popped into my eyes is that all the images seem wors...

displaying 3d models in WPF

I would like to display a 3d model in a WPF application (the model is prepared in an external tool such as blender). What is the best practice? Are there any tools to facilitate this? How about rotation/transform performance? ...

WPF BooleanToVisibilityConverter that converts to Hidden instead of Collapsed when false?

Is there a way to use the existing WPF BooleanToVisibilityConverter converter but have False values convert to Hidden instead of the default Collapsed, or should I just write my own? I'm on a project where it's tremendous overhead to do something simple like this (shared stuff goes into a separate solution, and the rebuild/checkin/merge...

Thumbnail Grid Control like Windows Explorer

I'm looking for a free WPF control that can show a gird like windows explorer's thumbnail new, rows of images with some info under each thumb, it would be added benefit if it could be switched to detail and list view too but for now the thumbnail view is the most important, I'm not that familiar with WPF's built-in controls so this migh...

I need to find a common architecture for wpf and web forms

My shop is moving towards re-working the app to be a combination of wpf and web forms. Some functionality will be facing the public via web forms and some will be internal only via wpf. I'm trying to find a common architecture for both sides of the equation. From what I've seen so far wvvm is the best bet for the wpf side, but that doe...

WPF: ListBox itemtemplate tag navigation through items

I have a listbox that has a datatemplate which contains multiple text boxes. I want the user to be able to tab through all of the textboxes and then to the textboxes of the next list item without having to use CTRL+TAB. Some XAML: <DataTemplate x:Key="UsersDataTemplate"> <Grid> <Grid.ColumnDefinitions> <Column...

WPF how to integrate Ribbon in prism applications

Hi, I'm writing a prism application and would like to integrate Ribbon library in it. I want a Ribbon Window that would be used as a Shell with office-like tabs and tab groups. The modules should be loaded on demand depending on the tab selected by user. I don't want the tabs to be located in a region if this is avoidable. So I created a...

Right databinding in WPF

How can I make such UI: 1) ListBox with items. 2) Detail information about selected item. 3) When you change any item in details information, the selected item in the list becomes bold... 4) ... until you push "Save" button and all changes go to the database. For example, for Binding to the list I use Object with String Name property an...

Binding List to Listbox

My listbox is not displaying the items. The items are in a List<string>. Here is the xaml: <DockPanel Margin="10,10,10,10"> <DockPanel.Resources> <local:MyErrors x:Key="myErrors"/> </DockPanel.Resources> <ListBox DockPanel.Dock="Top" ItemsSource="{StaticResource myErrors}" Height="300" Width="250" Margin="0,5,0,10" ...

Creating resizable WPF control using XAML

I want to create a WPF control that contains elements (rectangles and ellipses) that scale and align as the container resizes. As an example, if an ellipse is set to align horizontally to the right, it always stays on the right. As the container is vertically resized, so do the child elements. I've been looking at control tutorials fo...

How to design a small n-tier Report Services Application by using WCF and WPF?

Hello there, I am making a small report application for my company as specified in title. I am not experienced in n-tier application design, but I tried it. there are 3 tiers: (Database) -> WCF data service -> Business Rules (client side) -> WPF UI WCF data service: (data access objects, and data services) The two above are at the sa...

WPF 4 Drag and Drop with visual element as cursor

I have a WPF 4 app which I want to enable drag and drop with, currently I have it working with a basic drag and drop implementation, but I have found that it would be much better if, instead of the mouse cursor changing over to represent the move operation, I could use an image underneath my finger. I cannot seem to find any samples or ...

WPF image offset

I have image with size 800x600 and i need to show small image fragment 90x30 with offset x=12 and y 12. I create brush for that but i dont know how to make offset. var source = new ImageBrush(groundSource); source.Stretch = Stretch.None; source.AlignmentX = AlignmentX.Left; source.Alig...