What is difference between Style and Stylus ?
Hi All, What is difference between Style and Stylus in WPF. Thanksaniruddha
View Articleproblem 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 ArticleA 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 ArticleStyle 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 ArticleMultiple 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 ArticleLooking 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 ArticleCustom 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 Articlecalling 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 Articlescrollviewer 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 ArticleWPF 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 ArticleLoading 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 ArticleBinding 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 ArticleHow 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 ArticleTankWars 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 ArticleUnable 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 ArticleHow 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 ArticleDraw 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 ArticleWhy 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 ArticleWPF 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 ArticleException 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