Snoop doesn't detect
I have Windows7 and Visual studio 2008. I've opened new Wpf Application and run it, and run Snoop and it didn't detect my wpf window. why ? I've tried the Refresh button - didn't help. ...
I have Windows7 and Visual studio 2008. I've opened new Wpf Application and run it, and run Snoop and it didn't detect my wpf window. why ? I've tried the Refresh button - didn't help. ...
I have a question similar to this one, but in a more detailed situation. I am also trying to implement the solution using the Model View Viewmodel pattern. In MainView, I have a button which calls a command (we'll call it Execute) stored in MainViewModel. I also want this command to be called when the left button of the mouse is clicked...
I see that many applications do not have a title bar, but still have the window controls in the upper right corner. These are also styled differently than the normal windows form controls. Is it possible to achieve this effect in WPF? Here are some examples: Zune Desktop software: http://i548.photobucket.com/albums/ii356/elpedrogra...
I am trying to make a simple line graph using WPF toolkit and I am running into problems that I can't seem to resolve. The relevant part of my XAML code is: <DockPanel Grid.Column="1" Grid.Row="2"> <charting:Chart Name="orignialDataGraph" VerticalAlignment="Top" Height="474" Title="Original Signal"> <charting:Ch...
I am having some trouble with flow document. Would like to create multiple paragraphs with a figure at the start surrounded by text. But I don't want any indentation. The funny thing is that the figure is not indented if I have enough text. Heres some code to put right into kaxaml which illustrates the problem. <Page xmlns="http://sche...
Hi, I am quite new to WPF and have a basic question : Assume the following is xaml declaration in my xaml file <ContentControl x:Name="interactionActivityContent" Loaded="interactionActivityContent_Loaded"> <shapes:BaseShape.DragThumbTemplate > <ControlTemplate x:Name="interactionActivityTemplate"> <Grid AllowDrop="True"...
I have a following requirement for a very complex UI. (Complex here means there are lot of controls in the form [approximately 100]). I am using MVVM (if my problem requires it to slightly go away from MVVM I am ok with it) My question is for Editable ComboBox and TextBox. But I would say I like to hear a common algorithm which will fit ...
What I really want is a version of IsHitTestVisible that ignores mouse click events but still traps mouse enter and leave events. Background: An informational overlay pops up under the control with focus whenever. This is a requirement, so I'm not at liberty to remove this behavior. This is implemented using an adorner containing a Rect...
In my WPF 4.0 desktop-based application in order to localize my application (e.g. English & French localizations) I'm using Resources.resx file, where I type dialog name (ID) and its value for English and French localization. Everything works great, except one thing — IntelliSense of Visual Studio 2010. Let's say, I have a button: <But...
Hi I am writting an application using WPF MVVM and I added an accordion menu and inside the accordion I want to display a list of application. so basically my accordion menu would have categories as a header and the items inside the accordion would be my application. so we would have something like this categorie 1 -->application 1 -...
I get the following errors from the code below... not sure why (and yes, it produces all 4 even though it's the same 2 repeated). Oh, and it doesn't produce the alternating rows effect, even though prior to these errors popping up the same code was working. System.Windows.Data Error: 4 : Cannot find source for binding with reference 'Re...
We have a custom panel class that animates its children via an internal DoubleAnimation object. However, we want to expose the animation's Duration dependency property as a public property of our panel so the user can change it in their XAML when using our panel. But we don't want to expose any other part of the animation object, just ...
I'm using a Collection View Source to group my data. In my data, I have Property1 and Property2 that I'm needing to group on. The only stipulation is that I don't want sub-groups of another group. So, when I group by these two properties, I don't want to have it so that Property2 because a subgroup of Property1's group. The reason why...
So I've got these classes that expose a collection of child objects. I don't want other classes adding or removing objects from collections because I need to wire into events in the child objects, so as they get added or removed I want to be able to do additional processing. But I really love the ease of manipulating generics internally...
What is the best way to do letterspacing (tracking) with TextBlock in WPF? I would think TextBlock.Typography would have taken care of this but it doesn't. What is the best approach? ...
This code should fire when is pressed, but not +. What change do I need to make it work correctly? Private Sub cmdDeleteRow_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Input.KeyEventArgs) If e.Key = Input.Key.Tab Then 'DO stuff End If End Sub ...
how can I kill process or close whole application for my WPF application using c#? ...
how can I Restart my WPF application using c#? ...
Sometimes when I call RaiseEvent CanExecuteChanged(sender, EventArgs.Empty) from a back ground thread it give me an exception stating "The calling thread cannot access this object because a different thread owns it." However, if I call System.Windows.Threading.Dispatcher.CurrentDispatcher.CheckAccess is returns True. What am I doing w...
Can I force a window to re-evaluate all of its bindings and validations? For some reason it seems to be ignoring the INotifyPropertyChanged.PropertyChanged in one weird situation and I'm looking for a work-around to use until I find the real cause. ...