My app compiles fine. Runs fine on Vista machines. But doesn't even start on XP machines with a xaml parse exception on the first form.
The xp machines all have .net 3.5.
Anything spring to mind?
Thanks.
...
I am trying to make it so that the user can scroll a richtextbox by clicking the window the richtexbox is on and dragging the mouse. Unfortunately I haven't gotten very far:
private void Main_PreviewMouseMove(object sender, MouseEventArgs e)
{
if (e.LeftButton == MouseButtonState.Pressed)
{
}
}
...
I got my UserControl that contain:
Button
Popup (contain Text block)
XAML
<UserControl>
<button Name="btnShowPopup" Content="Button" Click="Button_Click"/>
<Popup Name="popup" StaysOpen="true">
<TextBlock Text="Popup"/>
</Popup>
</UserControl>
Code Behide
private void Button_Click(object sender, System.Windows.RoutedEventArgs e)...
I am getting the following error when trying to Initialise the Module using Unity and Prism. The DLL is found by
return new DirectoryModuleCatalog() { ModulePath = @".\Modules" };
The dll is found and the Name is Found
#region Constructors
public AdminModule(
IUnityContainer container,
IScreenFactoryRegistry...
I need to get the maximum value of a richtextbox's vertical scrollbar so that I can scroll to a percentage of the scrollbar's maximum value.
...
I have a databound Silverlight DataGrid control that I am trying to sort. I am using RIA services (beta) for my data source, if that makes any difference.
I am quite new to databinding in Silverlight, so this might be something really obvious that I've missed, but I can't seem to find any info on it. I want to be able to set the binding...
Hi,
I'm creating 3D program in WPF in C#. I'd like to move images which are place on 3D surface.
In my case they're situated on square. The problem is when I try to move the image, other
images change their sizes.
I tried setting contstraints but it seems that the problem is that images and canvas are placed in 3D.
Does anybod have ...
I tried Xceed datagrid for WPF and liked it, but the problem is that this vendor doesn't have similar control for Silverlight. It seems for me that it's not very convenient to buy it from some another company and have components from different vendors for such close thechnologies as WPF and Silverlight.
Could you share your thoughts and...
I have a greed view column:
public class SortableGridViewColumn : GridViewColumn
{
public string SortPropertyName
{
get { return (string)GetValue(SortPropertyNameProperty); }
set { SetValue(SortPropertyNameProperty, value); }
}
public static readonly DependencyProperty SortPropertyNameProperty =
...
I've been using .net for quite some time, and everywhere I interview these days, I keep getting asked about my knowledge with .NET 3.0/3.5 technologies (WF, WPF, WCF etc.)
How do you start learning those? Any good links available out there?
Should I change my current code to start working like that?
...
Working with WPF it is good practice to keep your xaml.cs code behind files small and clean. The MVVM pattern helps achieving this goal through Data Bindings and Command Bindings where any business logic is handled in the ViewModel classes.
I am using the principles of the MVVM pattern and my code-behind files are rather nice and clean...
I want to design a DataGrid in which I have option to "Group by" or "Arrange by" filtering, just like we have in outlook. In outlook or windows explorer we have option to change the view in accordance with what is selected in Group By option.
I am wondering if any one have any idea of this type of implementation or any open source in WPF...
Imagine the situation you open a WPF Popup(e.g. through ButtonClick).
You have a ListBox directly in the Popup with some items, so you have to be able to scroll.
Imagine that this is your Custom Control and it's located in the ScrollViewer.
Now if you move with your mouse outside from the Popup surface and scroll, what happens?
You scro...
We would like to use balloon messages as described in the UX Guide from Microsoft. I found some samples which uses native code from Windows Forms, but the native code requires a handle to the component which a bit difficult for a WPF application since it doesn't follow the same concept.
I found some sample code which uses WPF's decorato...
I'm trying to follow the MVVM pattern laid out here: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx#id0090097 I have this in my MainWindowResources.xaml file:
<DataTemplate DataType="{x:Type vm:VendorsViewModel}">
<vw:Vendors/> <--- I get a "Can't put a page in a style" error in blend with this
</DataTemplate>
and I'...
hello,
I am a student and in last semester i develop asp.net application - "Payment Helper for School" . In this new semester i will have subject "Graduation Project" and i thinking about develop my application.
In my old app i use:
ASP.NET web forms
mssql 2008 database
linq to query to db
I achieved technologies above at good level ...
Hello friends i want to display data from DB to combobox, DB table has id, investPlan, amount. Now i want to show 'investPln' col in combobox and when user selects any plan then respective amount displays in textBox control. I am able to display 'invetsPlan' rows in comboBox but don't know how to do rest thing. HELP ME!!
XAML Part
<Com...
Hi,
I'm currently trying to customize a Visual Studio Isolated Shell so it opens a XAML file and its designer without a solution or a project. Therefore, for the designer to load, Visual Studio need to recognize every xaml tag in the XAML file or it won't load telling me that the document contains errors.
I'm currently trying to manual...
We have a WPF executable that creates a and then dynamically loads several assemblies. Each assembly represents a screen (.xaml) that is displayed in one of the tabs. The Problem is that the is right under the and not at the bottom of the window. How do I force the to always be at the bottom of the
window? Thx!
UserControl
...
Hi, i would like to replace the following xaml code :
<Custom:DataGridTextColumn Header=" " Width="*"/>in codebehind. This xaml code fills my header to the end with my style..
this is what i want to get
|name | number | this area uses "mystyle" end of grid ->|
this is what i now get :
|name | number | unstyled area! ...