Is there a way to convert Flash animations into WPF animations automatically, like converting mp3 to wma?
I'm interested in converting these two items to WPF:
http://activeden.net/item/background-animation-blurry-light-cells/21980
http://activeden.net/item/abstract-lines-with-gradient-background-random-effect/64777
...
Hi,
i don´t find a button to separate the designer window
from the xaml window for wpf in Visual Studio 2010.
I´ve got 3 screens and i want a full screen xaml and a full screen designer window.
Any suggestions?
Btw searching the web for "xaml, designer, vs2010, split" wont work ;)
Thanks.
...
I have the following validation method in my viewmodel (example is showing only one column, "ItemNumber"):
public bool IsValid
{
get
{
foreach (string property in ValidatedProperties)
if (GetValidationError(property) != null)
return false;
return true;
}
}
static readonly string[] ValidatedProperties =
{
...
Hello,
imagine I have two classes A and B where B has the properties BProperty1 and BProperty2.
The property BProperty1 shall only be settable by class A (no matter which instance)
The property BProperty2 shall only be settable by a concrete instance of class A (the reference to this instance could e.g. be stored on BProperty1).
I...
Hello,
I have an MVVM application, with a view containing two custom controls, each of which has an ItemsControl that displays the same information in different ways.
Part of the data in the ViewModel is an ObservableCollection, although it is never bound to directly:
ObservableCollection<MyObservableItem> mIncludedCollection;
In th...
Here's my hypothetical example. I have a very simple WPF window with a one Button. The Button.Click event has a handler that goes like this.
Action doit = () =>
{
Action error = () => { throw new InvalidOperationException("test"); };
try {
this.Dispatcher.Invoke(error, DispatcherPriority.Normal);
} catch (Exception ...
(I know there's some close duplicates out there, but none of them were able to help me, please hear me out)
I have the setters of my model throwing appropriate exceptions when something attempts to set an invalid value. This works wonders for validation when the user types a new value.
However, when I create a new model object, the ini...
Hi,
I have a problem and found something about it here: http://stackoverflow.com/questions/1150060/how-to-draw-line-of-ten-thousands-of-points-with-wpf-within-0-5-second
We need something like this, but a little more.
We have to draw a route from gps coordinates (around 20.000 coordintes) on a map. (The map rendering is fast. Basically...
If you bind to a view-model property that is a nullable double (or int) how do you allow a user to specify nothing.
I'm looked into validation but I can't see how I could get that to help.
It seems like if a textbox is blanked out WPF sees it as an empty string and then doesn't put the into the vm proptery.
So 2 ways around it I ca...
I'm attempting to setup a MenuItem that will have a submenu of page numbers that can be selected. I want to bind the ItemsSource to a list of page numbers (actually to the PageCount with a converter creating the list) and then bind the IsChecked property of each MenuItem in the sub-menu to the PageIndex. My problem is with the second b...
Hi to all,
I am reading up more on XAML and I have created an XML file and want to load it. It all works but when I use the ContentProperty attribute and more importantly I remove the Company.Employees tags from the XML file, I get the error "cannot add to Company" when loading the xml file.
The code is :
<?xml version="1.0" encoding=...
I have a viewmodel that implements IDataError. In the viewmodel I have an ObservableCollection. The ObservableCollection populates a datagrid in my view:
// the list that populates the datagrid
public ObservableCollection<ProjectExpenseItemsDto> ListOfProjectExpenseItems
{
get { return listOfProjectExpenseItems; }
...
I've been having trouble with some databinding with WPF. I have a class to hold various data. I want the data it holds to be binded to Text Boxes in a different window. Everything I've found reccomends this:
<Grid.Resources>
<c:PropertyModel x:Key="propMod" />
</Grid.Resources>
<Grid.DataContext>
<Binding Source="{StaticResource...
Hi, I'm applying a TextDecoration to a TextRange in a RichTextBox. Works fine except that if the user types at the end of the range, then the decoration is continued.
Eg. if the word "am" is decorated in "I am here" and the user changes "am" to "am not", then all of "am not" will be decorated. I just want "am" to be decorated.
Any ...
Hi All,
Im looking into how to make an effect on my WPF 4.0 application where I have a listbox that can switch from list view (i.e. a vertical stack of my own items) to a grid view (tiled list from left to right) via an animation (not a jump to and from).
I have been looking into Fluid Layout in Blend 4, and messing around with it, but...
I have been reading about dependency properties in several books but all have one thing in common, they just tell us how they are implemented( using static readonly DependencyProperty etc.) but does not tell the exact way they work from inside.
I mean they are implemented as static but still applies to all objects.
Second point of con...
In a WPF application, you can put your global static resources in app.xaml .. like
<Application.Resources>
<!--Global View Model Locator-->
<vm:ViewModelLocator x:Key="Locator"
d:IsDataSource="True" />
</Application.Resources>
That was from MVVM Light ;). Now, if your project is a wpf ...
Is there any free(source code) image manipulation tool available?. The functionality should contain Free Text, Drawing tools (Circle, Rectangle), Pencil , Line , Zoom in, Zoom out and rotate.
...
Hi,
How I can add dynamically treeview into the combobox in wpf..
thakx..
...
I am using wpf toolkit data grid. which could have large number of rows which could be contain in multiple pages.
just wondering for best solution to print/print preview data grid contents (rows)
p.s: kindly doesn't suggest printvisual as it doesn't fulfill my requirement and cater some sample along your solution.
thanks
...