Some body can share with me some example that use MVVM Light, where one view exists in each project (the solution has multiple projects, one for each view). What happen with the Locator, need to have one for each view in each project? How sincronize the view? How animate the initializacion of each view?.
Thanks a lot
...
I'm having a problem screenscraping some data from this website using the MSHTML COM component. I have a WebBrowser control on my WPF form.
The code where I retrieve the HMTL elements is in the WebBrowser LoadCompleted events. After I set the values of the data to the HTMLInputElement and call the click method on the HTMLInputButtonEleme...
I have a project on a Windows 7 machine in Visual Studio 2010 that contains a WPF ListView using a DataTemplate and it is showing strange behavior. I can run the project in Debug or build a Debug executable and launch it outside VS and the ListView will be populated with data. If I build in release mode the data is returned but does not ...
I've got a WPF webcam component's source-code from Codeplex that I'm trying to port from .NET 3.5 to .NET 4.0.
Compiles just fine under both targets, but in the .NET 4.0 version, it crashes when running the app with a System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception at the line moniker...
When I start editing my grid IEditableObject.BeginEdit. And if I leave then IEditableObject.EndEdit is called. However, if I press Escape then IEditableObject.CancelEdit doesn't get called.
This was working before, so I'm not sure what I did to break it. Or even what can break it.
...
Hi I am trying to create a Button with a semi arc form something like this:
I am using xaml and Control templates, it works fine but, the button recives the click event even if i click in any part into the rectangle form by the geometry, it launch the click event, I want the event to be catch only inside the geomtry...
here is the xam...
Does anyone know of a lightly-marked-up-text to styled-text formatting library (ie. something like Markdown# or Textile.NET), but which produces a native XAML document (or rather, a FlowDocument model or similar that can be displayed directly in a WPF app), to avoid the use of a WebBrowser?
Bonus points for something lightweight. I'm h...
Something is wrong with my binding. But I can't find it
I have a status type control (UserControl) that has an ItemsControl with binding that relies on a ViewModelBase object which provides list of BrokenRules, like so:
<ItemsControl ItemsSource="{Binding BrokenRules}" >
<ItemsControl.ItemTemplate>
<DataTemplate>
...
Hi,
I have a listbox in which I am displaying the records from the database. Its coming one after the other in a single column. How to put the records programitically as 3 rows and 3 columns i.e. 3 records in a row, after that 3 records in a row. Kindly suggest?
Thanks.
...
Hi,
I managed to host the CLR 2.0 in a Delphi win32 application that was able to create and host WPF controls inside a Delphi control, something similar to the ElementHost for WinForms applications.
Now, I want to move my solution to the CLR 4.0 and everything works fine except when I try to create a UserControl that has an associated ...
I am new to this forum.
I have a custom user control defined using c# and xaml. When i dag and drop this control to WPF window it works. Even i can edit xaml code tags and insert my control. But when i use my control in c# code, it dont work.
here is my xaml control definition
<ResourceDictionary
xmlns="http://schemas.microsoft.com/...
Hi All,
I want to add an item to the combobox after binding it.
for example:
this.cbCategory.ItemsSource = categoryList;
this.cbCategory.DisplayMemberPath = "CategoryName";
this.cbCategory.SelectedValuePath = "CategoryID";
i want to add("All", "%") as the first one.
Geetha.
...
hello all.
i want to bind some tabular data in wpf i just want to know that which control is more sufficient for this purpose Grid view ,list view or listbox
thanks in advance
shashank
...
Greetings guys,
hopefully somebody has fresher eyes and can help me pinpoint the problem here, I'm trying to create a small app with prism and the MVVM pattern, everything was working nicely up to this point, my commands are firing properly with the argument, however, the TextBlock here is not binding to the CurrentUserKey property from ...
Every time I click a control (button, textbox), a new border is added. I can't select the controls on my form now. What I'm looking for is a command to activate the selection mode but I can't find it anywhere on the Toolbox pane or on any toolbars. Please help.
...
I'm trying to migrate a WPF Application based on C# to identical project but based writed in VB.NET.
I have some problem with XAML Window.
The Window have some reference from external dll controls. For example:
<Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas...
Hi
I am from VB.Net WinForms comming. Now I wanted to write a small app in WPF, listing some files in a datagridview. I used WPF's DataGrid, created some Columns. And then failed to add my rows.
Please, can you help me to select the right way to get my filenames, state-text and thumbnails added to the DataGrid Row?
In VB.Net WinForms...
I have a ListView set up to view a number of records from a database, and therefore it is bound to an ObservableCollection of SongData:
public class SongData {
Id { get; set; }
Title { get; set; }
Artist { get; set; }
}
Now, I have an EventHandler set up with an EventSetter in order to display a new Window with some sort o...
Hi,
I wanna create a WPF treeview with data with two grouping options (radio buttons). So the data will be grouped in two different ways (2 level hierarchy), the lowest level being the actual data items, and the groups being just a way to represent the data for easier understanding. They would also be able to select items by group (chec...
How to set focus to the elements in the gridviewcoulumn of listviewitem. eg. I have a listview with 5 row and each row has 3 column with TextBox. If i press the enterkey from the First textbox, focus should move to the next textbox and finally if i press the enterkey on the third(last) column in the first row the focus should go to the s...