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

Writting Register Method - MVVM Entity Framework

Having some more issues with creating a new account on my application, i'm not loading all the users into a List like in the guide i'm following, so i'm trying to adapt the code to fit my current...

View Article


Image may be NSFW.
Clik here to view.

How to unchecked "pivotGridControl" CustomFilterPopupİtems in wpf

When my pivotgrid load i wanto unchecked this item.How can i do that programmatically?You can see in image for details. Please help.

View Article


Image may be NSFW.
Clik here to view.

How to unchecked "pivotGridControl" CustomFilterPopupİtems in wpf

When my pivotgrid load i wanto unchecked this item.How can i do that programmatically?You can see in image for details. Please help.

View Article

Binding ComboBox to object

I have a ListView populated with ComboBoxes. Each ComboBox is bound to an object in a list, the object has a string "Key" and a bool "Included". The ItemsSource of the ComboBox is being set, because...

View Article

How can in get 2 or more reports from single report viewer?

Like i am having list of items and i want to get report for each item of same format???asif bakhtiyar

View Article


When passing an ObservableCollection using MVVM Light's messaging, is a copy...

We're working on a new WPF app, using MVVM Light. We've got a customized ObservableCollection which starts as being bound to a datagrid. According to the project's specification we have to start on a...

View Article

timer reset

I have an auction application. my timer is set to go 10 seconds. problem is when i press 2 or 3 times timer are not reset. private void Button_Click(object sender, RoutedEventArgs e)        {...

View Article

How to draw line on image (just like wagonwheel)

 <Viewport3D Name="viewport">                <Viewport3D.Camera>                <PerspectiveCamera Position="0,0,4" />            </Viewport3D.Camera>...

View Article


Key, Value Data Update in the Grid

I have a KeyValuePair<string,string> Data. When i update the Data in the Grid it's updated by MyDataHandler. If i don't enter any Key data and enter only value data it crashes the application....

View Article


WPF: metadata validation issue

Hello, not 100% sure on how to get this working, I have had a good look around but unable to do any validation! Below I have got my cut down version of the metadata, removed most to save having a wall...

View Article

[WPF] How to access a code behind property of ResourceDictionary in another...

Situation: There is ResourceDictionary Class1.xaml backed by code behindClass Class1.cs using x:Class. There is Property MyHeight inside Class Class1.cs.Goal: To access Property MyHeight in...

View Article

How to get the focus while moving the screen

I acheived to drag and move my application accross the screen when it is in maximized mode with below code.  private void ControlView_MouseDown(object sender, MouseButtonEventArgs e)        {...

View Article

One Way Binding with Data Dependencies

I have two Data Grids.  The first one shows data without a restrictive parameter.  The second shows data based upon the selected record in the first data grid.  How do I wire it up so that when the...

View Article


Opening second window using Modifier Keys?

I am trying to do 2 things:Open my settings window using a key combination with multiple modifiers (Ctrl+Alt+S)Display my settings window ON TOP of the current window, which is set to topmostI am...

View Article

Adding Buttons to a Canvas in a Grid Format

It seems a canvas is ideal for this... if I want to continually add buttons to a grid-type display and have them stored somewhere where they can be saved, then a canvas is the best option?What I don't...

View Article


Our CanExecute methods aren't firing as we expected them to. What are we...

Our WPF app architecture has us displaying a summary/listing view to the user. They double click on a row and that sends them to a detail view. Also the detail view has to allow the user to navigate...

View Article

Disable Ctrl+Alt+Del shortcut from custom application

Hello, I would like to create a Kiosk mode for my application. For that, i would like to disable Ctrl+Alt+Del shortcut when my application is started. But i would like to do that without modify the...

View Article


Detect the index of comboBox when the mouse hover the parts of the combobox...

The combobox is bound to one field of the SQL Dataset. a table with two columns str1 ad str2While Hovering with the Mouse over the combobox, I want to catch the value of the value behind  and transfer...

View Article

How can I add different color lines of text to an item .... ?

Hi all,I can't find even one simple example that shows how to do that.I need to put an item on the panel (I don't care if it's Listbox or TextBlock or RichTextBox) that will let me add lines of text...

View Article

Dependency PropertyChanged CallBack is not firing

Hi, I am facing a weird issue in Dependency property changed call back.<Bing:BingMap x:Name="BingMapUC" Bing:MapDP.Location="{Binding SearchText}"/>    where Location is a Attached Dependency...

View Article
Browsing all 18858 articles
Browse latest View live


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