Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

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 Article


Interactive 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 Article


Exceptions when Printing with WPF (GDIExporter)

The same (?) problem was also reported in much greater detail two years ago here:...

View Article

Depedency Properties

Hello,Hi have this DepedencyProperty:public Test Value { get { return (Test)GetValue(TestProperty); } set { SetValue(TestProperty, value); } } public static readonly DependencyProperty TestProperty =...

View Article

WPF .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 Article


Drop 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 Article

Windows 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 Article

MVVM 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 Article


Load 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 Article


WPF 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 Article

Windows 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 Article

Scrollviewer - 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 Article

ViewModel 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 Article


listview 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 Article

Style Not triggering in WPF popup

hi,Following is my code:style.xml:   <Style TargetType="{x:Type TextBox}">        <Setter Property="Validation.ErrorTemplate">            <Setter.Value>...

View Article


using 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 Article

Multiple 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 Article


Show 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 Article

Image may be NSFW.
Clik here to view.

grab 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 Article

Canvas 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
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>