Hi,
For a developpeur who as to do a project with WPF or Silverlight (xaml code), is it trial to learn some design (basics) and to handle blend? Beacause in France there isn't much blend professional (compare to photoshop users) and the price/day of a blend designer is very high.
What I am sure is there i ain't no artist, but it could...
Hey girls and guys!
I am currently working on a project of mine using Prism (the Composite Application Library/Guidance). The application will be a specialized MSPaint-like application for basketball (predefined objects for balls, players etc.).
Now I am wondering how to go about organizing my application into Prism modules. Especiall...
Hi,
In a WPF Application using XAML,
I created a stackpanel(width 1030) and I have 2 Images.
1. imgClient width = 784 Height = 66 and 2. imgClientExtra width =1 and Height = 66
imgClientExtra will be right end and imgClient will start at leftend.
so, the images will fit to 784 + 1 when the application is not running, the total image ...
Hi,
I have 3 controls in a WPF window.. a textbox, listbox and listview.
The textbox is like a searching textbox, where i search for Folder's in a particular folder, the list of searched folders will be displayed in listbox. I am able to do until this part.
Now, if I select any of the displayed folders in the listbox, then the files a...
Hey girls and guys!
I am currently working on a WPF project using Prism (CAL) and am wondering if it is a good idea to use both Prism and MEF in one project.
I would use Prism for modularity and MEF for extensibility. My project is a paint-like application so Prism would provide the module-separation (toolbox, canvas as modules etc.) a...
Hi.
I'm using a WPF validation for TextBox validation. I have defined this Template:
<Style x:Key="textBoxInError" TargetType="{x:Type TextBox}" BasedOn="{StaticResource StyleTextBox}">
<Style.Triggers>
<Trigger Property="Validation.HasError" Value="true">
<Setter Property="ToolTip"
...
Hi everyone.
I have a window that contains a grid with two columns.
the first column is filled with a TreeView.
the second column is filled with a ListBox.
Both controls are bound to a CollectionView that wraps my data - an ObserveableCollection of my data class type. The ListBox is set to keep syncronized with the view (SyncToCurrentI...
I can set the margin of a stackpanel in code-behind like this:
StackPanel sp2 = new StackPanel();
sp2.Margin = new System.Windows.Thickness(5);
But how can I set each individually, both of these don't work:
PSEUDO-CODE:
sp2.Margin = new System.Windows.Thickness("5 0 0 0");
sp2.Margin.Left = new System.Windows.Thickness(5);
...
Hi
I am fighting for two days with this problem, and I am dying for a solution
I have huge complex WPF window, with a tabControl
One of the tabItem, hosts a WindowsFormsHost, which host some old windows forms controls
When I am navigating to this tab, I am trying to set the focus on one of those controls
Keyboard.Focus doesn't work, b...
Hello,
I'm working in C# and WPF, very new to both.
I have a loop that reads plenty of data from an external source. The process takes about 20 seconds, and I want to show the progress to the user. I don't need any fancy progress bars, so I chose to plot my progress in a label that will say "Step 1/1000", then change to "Step 2/1000" ...
There is a DLL that is made when I compile one of my programs. The DLL contains images that the software displays. I have made another software, a configurator. I want it to be able to open the DLL a replace the banner, and only the banner, image with whatever image the user chooses and then recompile into a dll. How can I do this?
...
I'm trying to bind some data to a WPF listview. One of the properties of my data type is of type byte[] and I'd like it to be shown as a comma-delimited string, so for example { 12, 54 } would be shown as 12, 54 rather than as Byte[] Array. I think I want to make a custom DataTemplate but I'm not sure. Is that the best way? If so, ho...
WPF- How can I show a cropped region of an ImageSource in an control?
I have an ImageSource of a vairable size in pixels. I have a caculated crop rectangle, indicating how much of the image we are actually going to use. I don't want to edit the image data directly, but I want my <Image> control to display only the cropped region of t...
I've got two combo's 'Make' and 'Model', they've got their SelectedValue properties bound to an Vehicle object with a ModelID and a MakeID.
Heres Model ...
<ComboBox DisplayMemberPath="Description" ItemsSource="{Binding Path=ModelSpecs}" SelectedValue="{Binding Path=Vehicle.ModelID}" SelectedValuePath="ID" />
A user can search for Ve...
Hey there! Here's my question:
I've got a Datagrid in WPF and I have a first column that is a DataGridComboBoxColumn.
What I'd like to do is to have a header for that column also with a combobox: altering the header with propagate throughout the column.
I can get this done visually, but when I submit the data, the list that is bound w...
When I display a WPF window with WindowStyle="None", it looks great when using areo.
However, when I use luna or classic, it displays an ugly gray border about 5 pixels wide.
Of course, if I set ResizeMode="NoResize", this border disappears but I would like the window to be resizable (ResizeMode="CanResize").
Other non WPF application...
I've been trying to make a simple usercontrol to display an image, and eventually make it act as a button in my WPF application.
I had one of these usercontrols written into the form's XAML, and the image always displayed. However, when adding them programmatically to a stackpanel, the control was there but the image never displayed.
H...
So after I pull an image out of DLL and put it into an image control it is a BitmapImage. To package it back into the dll it has to be converted back to an image. How can I convert it back to image and how can i repackage it back into the dll? This is all in wpf written in c#.
private void compileDLL_Click(object sender, RoutedEventArgs...
I've been using Google's Annotated Time Line Visualization component for the last couple of weeks and I love it! I've been able to make plots with about 10k points without much trouble.
Do you know of a desktop component I could plug into my application that delivers the same WOW factor that Google's component does? I don't care what th...
I have a WPF application that builds fine, I can even publish it (localhost) using ClickOnce - no problem.
I want to create a Team build that will update the ClickOnce site, but can't find anyone that has done this or knows how.
Any ideas?
...