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

Adding a property to all controls to use for styling

Hi all,My forms have basically 2 states - view only and read/write.  Some controls may be disabled when they don't apply.Since I need to indicate when a control is disabled (unavailable/not applicable)...

View Article


windowstyle

Hi All.Is it possible to set WindowStyle="None" but leave Windows TaskBar visible at the bottom on the screen? If yes. How it to do?Thanks.

View Article


WPF Data binding and thread safety

When binding to a collection as an ItemsSource, do I have to worry about thread safety?In other words, I have a listbox, defined in XAML.In the code, I have//somewhere in global...

View Article

I get pixelations on other XAML images when animating sphere?

Using VS2010, C#, WPF.  In my color wheel project, mouse X_Y coordinates move little balls around a circle by editing " Canvas.SetLeft(Sphere1, X, Y); " to act as custom sliders, but when doing so the...

View Article

visual studio express 2012 for windows 8 vs visual studio express 2012 for...

Im a beginner in windows app development and I need to develop "Windows 8 desktop mode applications, not Windows Store/Modern/Metro apps". So for doing so should i download visual studio express for...

View Article


How do I use a listbox that has a checkbox that comes from a different source?

I'm got a problem that's really got me stumped. I want to have a ListBox on a page. The ItemsSource for that list box I want bound to a lookup table. I'll display a description field from the lookup...

View Article

VisualTreeHelper.HitTest does it always use the same search direction decide...

VisualTreeHelper.HitTest does it always use the same search direction decide whats been hit?I have a group of DrawingVisual's as children of on main DrawingVisual. I associated names with each of the...

View Article

How to force control to initalize its control template and redraw?

I am working on a small custom control called MyControl and I wish the control to initalizes and redraws itself once IsExpanded set to TRUE but before I proceed to next step in my code.MyControl...

View Article


How do I prevent a user selecting a duplicate data element for a cell in a...

(I know that I've asked this question before, but honestly the search tools for this latest version of MSDN Forums lacks some to be desired. Why, for example, does it appear to only show me questions...

View Article


Combobox Selection changed event

Hi,how to stop Selection chaged event of a combobox in wpf stop firing at window load.thanks.

View Article

Image control combined with BitmapSource can't display some big images

I have developed a full-trust browser hosted application to display images contained in a specific folder. This application uses only classes from System.Windows.Media.Imaging namespace.I have some big...

View Article

WPF datagrid - Put Combo SelectedValue into textbox

I'm attempting to put the selected value of a combo in a textbox.  Both are in a datagrid.  I've posted these attempts hereand here.  I'm using this tutorial as a guide.  This tutorial has been...

View Article

UI not being updated correctly when using Task.Factory.StartNew?

When I do the following, not all of my bindings and UI content is updated correctly. What is the problem?privatevoid DoWorkCommandExecuted()        {            //Do stuff            ShowProgress =...

View Article


When a textblock wraps, how do you make the wrapping indented?

I've got a TextBlock on a window that I have the TextWrapping set to wrap. Then at the end of the text I have a Telerik RadMaskedNumericInput control. My issue isn't with the Telerik control. Instead...

View Article

XBAP is Launching in Chrome while Debugging

This is related to VS Ultimate 2012 Update 3.When XBAP application is debugged, it launches in Chrome even though IE is set as default browser. This has been launched as a bug :...

View Article


MVVM - TreeView - Workspaces - Memory Management

In my app, I have a main page with a TreeView. Select the edit button next to an item in the tree and you get a window where it can be edited.  Some items have subitems that are, themselves, displayed...

View Article

Bind to Property of Active Control

I have a form with several textboxes and a label control that I currently manually update with the number of characters entered and the total number of characters the user can enter for each...

View Article


Validation Rules on DataGrid

When I apply a Validation Rule to a row in my data grid and then change the value of the cell in the code the error does not clear and the displayed value of the cell does not change. How can I change...

View Article

ignore enter key in non editable wpf datagrid?

Hello MSDN members,                                I have one clarification.. if i am press enter key in wpf datagrid its go to next row.. how to avoid this? Bcoz i want if press enter key then the row...

View Article

Can not edit data on DataGrid

I am overriding GenerateElement and GenerateEditingElement on a DataGridTextColumn so I can insert a combo box in the cells of the first row. However, I can not edit the text in the TextBlock on the...

View Article
Browsing all 18858 articles
Browse latest View live


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