What is the correct way to organize the Buttons of the ribbon when there are...
I am working in an application that didn't have a ribbon before. We are making major changes in the way the functionality of the application can be accesed, but not in the functionality itself.The...
View ArticleInteractive Map - Scatterview Items and Button XAML Formatting
I'm trying to make an interactive map of my campus and I'm having an issue with Buttons and Scatterview item formatting. The idea is to have the buttons set to specific areas on the map (which is...
View ArticleExceptions when Printing with WPF (GDIExporter)
The same (?) problem was also reported in much greater detail two years ago here:...
View ArticleDepedency Properties
Hello,Hi have this DepedencyProperty:public Test Value { get { return (Test)GetValue(TestProperty); } set { SetValue(TestProperty, value); } } public static readonly DependencyProperty TestProperty =...
View ArticleWPF .NET 4.5 RibbonTab Template
Hello, I have tried for a long time to solve this problem. But now I gave up and search for help.So I can not solve how to display the RibbonGroupBox'es. Anyone how could give me a lending hand? , but...
View ArticleDrop in frame rate using visual Brush
HiI am filling the rectangle with a visual brush of video(Media element) where i could find a drop in frame rate. how to rectify it.also i could sense waves while testing viewing with a normal video...
View ArticleWindows 8 Touch issue with WPF app
Dear all,I have a standard WPF application which implement the WPF bing Map control. Touch gesture for manipulating the map work perfectly well on a Windows 7 touch PC.When runnng that same application...
View ArticleMVVM light toolkit and windows 8 issue
Dear all,I have a WPF satandard application which implement MVVM pattern using the MVVM light tool kit. Using actually the verison 4.0 of it. When running that app under Windows 7 touch PC I do not...
View ArticleLoad and Save drawing/shapes drawn on Canvas Control
Hello,If i have some shapes drawn on top of Canvas control.How can i save those shapes to any file and then retrieve them later on ? I don't want to use InkCanvas.Thanks,BR,JollyWagoner
View ArticleWPF And VSTO 3.5 Keyboard Focus Question.
Hi All, I am designing something like this : A simple form(in wpf), which is set to topmost to true and the form is a non modal window. This form will be called by a VSTO addin in Excel. The XAML is...
View ArticleWindows 8 desktop app and MVVM
Dear all,I have a WPF standard application which implement MVVM pattern using the MVVM light tool kit. Using actually the verison 4.0 of it. When running that app under Windows 7 touch PC I do not have...
View ArticleScrollviewer - Disable Overscrolling / rubber-band-effect / snapback-effect /...
Hi When I'm using the a scrollviewer in a listbox, my whole window is bouncing when I reach the end of the listbox via touchscrolling. How can I disable this overscrolling/ rubber-band-effect /...
View ArticleViewModel rules
Hi,a simple question for you guys. Should the ViewModel contain the logic of model and the logic of view? The logic of model would be to create new data and stuff like that. Futhermore the logic of...
View Articlelistview how programatically define the GridViewColumn Celltemplate to right...
Hi I fill a listview from a datatable, when define the column binding if the data typeis double i set the text format and also want to set rigth align:foreach (DataColumn DCol in dt.Columns) {...
View ArticleStyle Not triggering in WPF popup
hi,Following is my code:style.xml: <Style TargetType="{x:Type TextBox}"> <Setter Property="Validation.ErrorTemplate"> <Setter.Value>...
View Articleusing a wpf window in a class library project
Is it possible to use window (namespace System.Windows) in a library project?I've tried to use some wpf controls in a library project, but the only control I can add is the UserControl.xaml (and I need...
View ArticleMultiple types of object binding to multiple ListViewItems in a ListView...
Hi,In my application, i want to bind a set object collection (say ParentClassCollections) to a listview. But my collection objects are derived from a base class. Say i have a 'ParentClass' & two...
View ArticleShow ContextMenu on a key press
I have a contextmenu defined as part of border of a user control.On right-click of items inside the border, the context menu is showing up andI would like to show the context menu when a key is pressed...
View Articlegrab parents background and save it
Hello guys I've got a question.I have a grid with a LinearGradientBrush background, based on a button selection the grid will display different fields. I have a polygon showing which button is...
View ArticleCanvas zoom in WPF using C#
Here the scenario is: I have a grid as the layout root and inside the grid i have a canvas. inside the canvas i have some ellipse or lines drawn.. now my aim is to zoom into the canvas. How can i do...
View Article