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

What is difference between Style and Stylus ?

Hi All,             What is difference between Style and Stylus in WPF.  Thanksaniruddha

View Article


problem with visual studio 8

hi,i got the problem in visual studio 2010.The name of the form should display on left corner of the box but in my program it is coming in middle of the box.can any body help

View Article


A user control with 2 controls that autosize?

Hi,I am new to WPF, but have been using Winforms for a while.  In my winforms app, I have user controls (used extensively) that contain both a label and a data entry class (textbox, combobox, etc.)...

View Article

Style not applied at runtime in NF 4.5

I have a set of nested styles that are referenced within a MergedDictionary in App.XAML. The styles are applied correctly at design-time, but aren't applied at runtime.I'm aware of the 4.0 optimization...

View Article

Multiple Column DataGridComboBoxColumn - Is it possible

Hi,I have a WPF window with a datagrid on it for recording fault information for industrial machines. I want a DataGridComboBoxColumn that will show two fields of information. I have implemented this...

View Article


Looking for sample WPF app.

Hi,I am looking for some examples of code and am hoping you can point me in the right direction.I have a winforms app (not written in .net) that I want to convert to C# and WPF.  It has a main window...

View Article

Custom Binding in Subclassed DataGridTextColumn

hii did some research but don't see this exact issue anywherei sub-classed the DataGridTextColumn to provide for some custom functionalitynow aside of the the standard "Binding" property, i would like...

View Article

calling a storyboard ( problem with calendar template)

helloI am working on a WPF project in which it is necessary to customize controls. I am working on Calendar control to add some simple animation. I added this :<Storyboard...

View Article


scrollviewer and treeview - get rid of the little rectangle in the bottom...

hey,i wanna take out the little rectangle at he bottom right Corner of the scrollviewer of a treeview. But if i create a style for the scrollviewer it wont work, means, if i start my complete...

View Article


WPF Datepicker MVVM Light passing selected date to viewmodel

I'm new to this and I'm at my wits end so I'm reaching out for help.I'm trying to pass the selected dates to a property that I can then use in a sql query, but the dates past are the default and not...

View Article

Loading refined treeview from the list in WPF

Hi,  I have a list of objects and also its object path. I have a search pattern selection where in i will select the specific search patterns (Like A to B, A to Z etc..).I can load my objects to the...

View Article

Binding issue in ContextMenu

Hi, I declare a simple contextmenu in XAML and try to accomplish a binding reference to another element in the same contextmenu. One time I try with ElementName and with RelativeSource/FindAncestor....

View Article

How to ZoomIn WPF ListView Content without zooming scrollviewer?

I have a WPF ListView and a slider to zoom the content of the ListView. When I use the LayoutTransform, the content and the scrollviewer zooming. I want only the listviewitems to zoom but not the...

View Article


TankWars remove the hitfield from the enviroment?

Hello,im trying to make a simple as possible TankWars game. I have already hit some problems.Now i start a animation on the scale property of the bullet ellipse from scaleX/Y 1 to 5 when it hits my...

View Article

Unable to control storyboard from from another wpf window

I have 2 wpf windows . 1. in which i draw a canvas , create storyboard and play that storybooard2. this is basically a controller via which i want to control the pause and play functions of the story...

View Article


How to place WPF Ribbon control on multiple windows ?

Hi Experts,I'm trying to use WPF ribbon control in my application. More than 30 windows will have the ribbon control at the top of the window. What is the best practice to call the ribbon from multiple...

View Article

Draw arrow shape using code behind approach

i have been trying to draw arrows  using coding behind approach and path  function . however it is giving me error . i am inserting the code here Path orangePath = new Path(); PathFigure pathFigure =...

View Article


Why DependencyProperty OwnerType FrameworkElement?

Hello,I have stumbled upon something interesting and that is the ability to register a dependencyproperty with the ownerType FrameworkElement even though the class which contains the dependencyproperty...

View Article

WPF Tab Control destorying Child Control state.

I am having an issue with the WPF tab control destroying the state of the child control.  The usercontrols placed in tabs are unloaded and loaded everytime i switch between tabs, to create slow lag in...

View Article

Exception when printing XPS-Document

Hallo,with our application document will be printed via the XpsDocumentWriter.Almost everytime the print works without any problems.But from time to time the following error occurs:PrintTicket provider...

View Article
Browsing all 18858 articles
Browse latest View live


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