I dont know what you want exactly, but you could take a look at this article i wrote and see if you could use what I wrote about the style. It contains information regarding Resource directory etc: WPF-Drawing Canvas Control[^]
I have not found a suitable answer to what I'm looking for, so answer me "Kenneth Haugland" is that if learners have checked the file I uploaded, you will see that your answer does not work. I had to solve my problem and I resolved beginner way and another drawback "Maximize and restore a sale without borders" that I will be posting later, thanks.
I have a datagrid and I set the ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Visible" in file XAML. The Horizontal it works but the Vertical not works.
I tryed to drag the bottom of the window upward and the vertical scrollbar it doesn't work.
There's nothing inherently wrong there that I can see. It could be that the issue is with the container though - if the margins of the container exceed the size of the window, you could well see that it causes this problem because the grid takes it's sizing from whatever it's a child of. Use Snoop to see what the margins are right back up to the parent window.
I have two stackpanel in my window and I want to remove an item from a stackpanel and add it to another stackpanel. but I want to do that with a moving animation. I dont know how many items each stackpanel has and where are their position.
Have you included your ResourceDictionary in your ResourceDictionary.MergedDictionaries? It's not enough just to have a resource dictionary, you have to tell the application about it (normally in App.xaml).
There really aren't. You're still attempting the same thing only this time your question showed nothing of what you've done and just asked for someone to give you code. This is code you could easily have found using Google as well.
I have a situation here to plot some data. For example there is an event occurs everyday at a particular time. I need to highlight that event in a Date Vs Time graph. There is no need to show a graph with lines. Just needed to highlight the events,thats it. On clicking the event it should go to another window and load its data. Event should also have a tooltip. Is there any controls available for this in WPF ? Please help.
Please help me to create the Row Double Click event for datagrid using MVVM, currently i am using MouseDoubleClick event, using MouseDoubleClick event when we click anywhere on datagrid then that event is firing. Please help me to produce the event only when double click on rows.
Code that currently i am using i.e. MouseDoubleClick event:
In wpf, MVVM Pattern i face the following issue. Did anyone notice this any time?
In page-1(XAML) there are 3 radio button of same group.
and in the corresponding View Model(Page-1 VM) in One method(eg: CreateXYZView()) in which i am instantiating another view(Page -2).
And in the page-2, i have the same set of radio buttons.
Now i have selected one radio button in page-1. And done some action which triggers the method(CreateXYZView()) in the Page -1 VM, which internally creates page-2.
So now my radio button selection in the page-1 is CLEARED(vanished).
Can anyone let me know the reason?
I am using a [RequiresRole("MANAGERS")] in my domainServices to restrict the use of a RIA services. Users are configured via the ASPNET Web administrative tool.
When publish the website, the authentication does not work. I can verify that access to the DB and all files work fine by just removing the [RequiresRole("MANAGERS")] statement
However, If I run the project in debug mode (VS2010) then it works as expected.
May be I am missing something in the web.config. Any other files I need to copy from my project to the website? Any ideas are greatly appreciated.
I thinks so,…It is a silverlight application that uses domainservies and RIA!!!!
In any case, it is always nicer to refrain making comments if there is no benefit to it. There are always nicer users willing to help.
Last Visit: 31-Dec-99 18:00 Last Update: 14-Aug-22 18:18