Hi
I am facing one issue in which WPF application unable to update the progress bar even the button on the wpf window stop glowing untill i move the window then everything is fine.
I have try to call InvalidateRect everytime i update the progress bar which actually generate the WM_PAINT message but doesn't solve the issue. This issue i...
Hi,
How to create dynamic checkboxes at run time from the databases values using MVVM pattern. I have set all the table columns as get;set; properties in Model. But not getting how to create the checkboxes using MVVM and where to put what means where to put database connections and functions for that and how to bind the dynamically crea...
Hi,
I have an WPF-Application with 3 different UserControls in the MainWindow and only one of these is visible at the time. It's like having 3 different pages and you able to switch from one page to another when you like it. First page is like a start-screen. Second is like the "general view". And the third page shows details.
Switchin...
Hi
How can I set the IsFocused Property to true for an UIElement3D. Inside my Hitdetection Method I run UIElement3D.Focus() and the UIElement3D.Focusable is also true, but the IsFocused Property is after that not set to true...
Any ideas?
...
When using the WPF Slider, in order to get any kind of discrete functionality, you must set the IsSnapToTickEnabled property to true. However, the value you set for TickFrequency controls not only where the slider snaps, but also where the ticks are drawn. How do I go about snapping to every whole number (i.e. TickFrequency=1) but only h...
Hi !
I have a WPF UserControl with many other controls inside of it.
TextBoxes are among these.
Every TextBox has its own validation:
<TextBox>
<TextBox.Text>
<Binding Path="MyPath" StringFormat="{}{0:N}" NotifyOnValidationError="True">
<Binding.ValidationRules>
<r:MyValidationRule ValidationTyp...
I am having a problem displaying an image with a web URL in a WPF user control. I have worked through all the suggestions for a similar problem asked on this site in Aug 2008 (http://stackoverflow.com/questions/20586/wpf-image-urisource-and-data-binding) but none of those suggestions have worked.
What I'd like to do is:
<Image Width="...
I have created a mesh (uniform grid with height values)by loading information from a file. Besides height data the file also contains a texture. The texture is easily mapped to the mesh, I also want the functionality to be able to assign a gradient texture. This is also quite straight-forward but uses other texture coordinates.
Howeve...
Hi All,
I want to create a smooth moving of images. i have gone the following link but i dont know how to implement. http://stackoverflow.com/questions/2772520/wpf-c-images-rotating-from-a-listview
Geetha
...
Hi,
I'm trying to figure out how to call a wcf in an asynchronous pattern in xaml tooltip object. so far I got the following code inside my combobox item template
the combo box has several itemNames pulled from a database and a toolip appears whenever mouse is hovered on any of the items. I'm trying to show more information on the hove...
Hi,
I have an WPF-Application with 3 different UserControls in the MainWindow and only one of these is visible at the time. It's like having 3 different pages and you able to switch from one page to another when you like it. First page is like a start-screen. Second is like the "general view". And the third page shows details. Switching...
How can I ensure that a button's Tooltip is only visible when the button is disabled?
What can I bind the tooltip's visibility to?
...
When I attempt to specify multiple DataTemplates for use by a ContentControl so that the correct one (based on Type) is used, I end up with Content that is simply the Content's ToString() value.
<ContentControl DataContext="{Binding MyTreeRootViewModels}" Content="{Binding /, Path=CurrentlySelectedTreeViewModel}">
<ContentControl.Reso...
How do you access the children of a WPF Canvas class?
It is a cool class and I like how you are able to add children. But once they are there, how to you look at them for reading their state and content. I know it is easy if you put the children in XAML. But what if you have added children to the canvas dynamically at run time?
...
Is it possible to have a project containing both Winforms and WPF?
Say a WinForm project that is transformed step by step(form by form) in a WPF one, will be possible to have a Winform opening on a button, and a WPF one opening on a other button?
...
Is there is any need to pass existing (or developing) projects from WinForms to WPF?
or even Silverlight?
If the project is OK, worth it to be switched in WPF? Can Silverlight replace WPF in the future?
I am asking because there a rumors that Microsoft will abandon WinForm (maintenance and support) for WPF and Silverlight. I believe Wi...
I have a Prism (CAL) shell with defined regions. Each region is responsible for its Navigation Journal and some regions will inherit from the parent.
The issue is that you cannot define Prism regions in a Frame's content template. What is the best approach for implementing NavigationServices in the Shell.xaml and playing nice with Pris...
How can we get Number of rows Present in Listview?
...
Could Silverlight and WPF be interchangeable?
I mean, using Silverlight for Windows applications and WPF for web applications.
...
I have Window with UserControl. I subscribed for OnKeyUp event but it does not firing.
Inside UserControl constructor i use method this.Focus();
But still onkeyup does not firing.
What is wrong and what i can to do to catch this event?
...