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

Image may be NSFW.
Clik here to view.

Grid view and xml in c#(not asp.net application)

Please note that its not asp.net application its windows form application. SO please do not direct this post to asp.net forums without reading through this.I have  a xml file as...

View Article


Priting in WPF fails to use the user specified printer tray

Hi,The following code is being used to print some documents. The problem we are having is that no matter what tray we use it always appears to use the default tray. Any help would be greatly...

View Article


Check If Is Child In Logical Or Visual Tree

Hi,how can I check if a child is in LogicalTree or in VisualTree?Is there something like UIElement.IsInVisualTree or UIElement.IsInLogicalTree?So the question is how do I find out no matter when at...

View Article

WPF USERINTERFACE

how to create a windows 8 tile look in an WPF application?

View Article

Image may be NSFW.
Clik here to view.

ribbon linbreak ?

hi!I have a ribbon with a alot of Buttons but there are to many Buttons in a line...I Need all the Buttons in the line!Here is a Picture with my Problem:Now I Need an idea that i can see all Buttons...

View Article


How to remember the size and location of a UserControl, instead of a Window.

Hello All,I have a UserControl object that I instantiate and assign to a Window at runtime. I know how to remember the size and location for Window objects, as per this...

View Article

Image may be NSFW.
Clik here to view.

problem typing in wpf

hello all,i have a problem in wpf and that is notworking type in wpf ,when press any key in keyboard for type to translate while not typing in textbox but spacebar key work corrently.please help me.

View Article

FlowDocument Large Table Performance issues

Hello,I've created a Flowdocument, consisting of one big table with ~20 cells and ~1600 rows resulting in performance issues.First problem is, that rendering takes very long, im using...

View Article


Click event for added RibbonButton in quick access toolbar

Hi!I'm using the new RibbonWindow from Microsoft. When I add a ribbon button to the quick access toolbar at runtime (via right click => add to quick access toolbar) and I click on the button in the...

View Article


Representing a number in a textbox

Good day,please i want when i type a number in my GUI textbox to be represented  in a masked way like this eg. 500,000 instead of 500000 how do i do this thanks. i am using wpfkels

View Article

Why the terrible change to the forums? Takes 5 mins just to filter to get...

I can't believe how terrible this change to the forum is!  I guess MS does not want these forums to continue as it now takes 5 mins just to put in all the filter information and that information is not...

View Article

Detecting when a DataGridComboBoxColumn is selected

HiOne of a ComboBox’s most commonly used and essential Events is SelectionChanged. It is raised when a selection is made in the ComboBox, which is the only purpose of a ComboBox (ie: making a...

View Article

Is it possible to bind a notification property to another non-UI property?

Is it possible to use the WPF binding mechanism in such a fashion so as to bind a notification property so that a non-UI object will be notified when the property changes? If so, how?Richard Lewis Haggard

View Article


DataGridRow Background Color is not responding to DatagridComboBoxColumn Value

Hi friends,The following code expect the DataGridRow background to be changed based on the value of DataGridComboBoxColumn Serviceability. but it is not happening for ComboBox Columns but same is...

View Article

Add table to repeating pages flowdocument

Hello,I am trying to add a table to start on every page before flowdocument starts to print or as a header. I have put the code of the table below.Please help. All I want to do is to put this table...

View Article


ColorAnimation, StoryBoard and DataTrigger: Starts but doesn't stop

Hi In a control template I have a rectangle whose style has a DataTrigger that listens to some boolean view model prop, which is most of the time set to "false". When it turns to "true" a StoryBoard...

View Article

Set DataGridRow color during run time from a PopUpBox

Hi friends, I want to set the color of a DataGridRow as follows. while right clicking a pop up box should come with all(some) available colors and clicking on some  color the corresponding row get the...

View Article


Login Form User Access Management WPF C#

Hi allI have MainForm includes few menus and each menus have submenus say it login, logout, change password, User maintenance, Group maintenance etc.when i run my program, all of submenus is inactive...

View Article

How to close the Popup when user clicks anywhere outside the Popup and...

I have created a style where I have changed the expanded portion of Expander to a Popup. A section of the style is given below.<Style  TargetType="{x:Type Expander}" x:Key="PopupExpanderStyle">...

View Article

System.Windows.Baml2006.TypeConverterMarkupExtension threw an exception

This error has started to be thrown on one of our development machines. The following code is the cause<Style.Triggers><Trigger Property="Validation.HasError" Value="True"><Setter...

View Article
Browsing all 18858 articles
Browse latest View live


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