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

Problem fetching field data from rdlc report

I am trying to automate an application. Using UI Spy I found that the Control Type for acell in rdlc report is ControlType.Text. I have been trying to retrieve the value in the cell but have been...

View Article


Dynamically generated view loading in wpf prism unity..

Hi Folks,Was wondering what is the best way of loading a dynamically generated view with content, in wpf prism application using prism application. Example i have a xaml file with some content inside...

View Article


Get the current UserControl in a project in WPF

I have lots of UserControl in a project build on MainWindow , they will be show different view in screen, I can switch those UserControl but I want get information of current UserControl.How can I get...

View Article

Wpf Textbox.AppendText is not showing in rum time

Dear Experts,I'm using below code some process and i wish to show steps as finished task. the textbox is showing content run time but after finished the loop content is showingWhat is missing...

View Article

wpf listbox should not resize with content

Hi desktop application using wpf:i have one list box which is in grid, and my list box is re-size when window re-size. but at a same time it also re-size when list-box content is longer.i want my list...

View Article


ContextMenu is not shown for the empty space of DockPanel in...

Hi,I have created DataGridTemplateColumn dynamically with a dock panel containing TextBlock left aligned and Image right aligned.Now I need to show ContextMenu in cell right click. I did that. But...

View Article

horizontal scroll not working in wpf usercontrol please help new to wpf

 <Grid Name="SP_ViewsMappingsDataGrid" Height="200" Width="600" VerticalAlignment="Top"  Margin="20,230,44,0"  HorizontalAlignment="Left" >            <DataGrid AutoGenerateColumns="True"...

View Article

WPF element is OffScreen Error

I am currently working on UI automation using White Framework..I have a ListView consisting of multipple rows.Now when i try to select the rows using their index I am able to select the one at index 0...

View Article


Image may be NSFW.
Clik here to view.

DataGrid column style -> can't get what I want...

Hi, Somehow I can't figure out how to set the DataGrid so it shows columns which are not readonly in other background color.What I currently get:What happens if I select a editable cell:What I would...

View Article


Beginner WPF Class Question - Using private variable versus corresponding...

I'm new to the .Net world and am diving into the fun and challenging aspects of MVVM, classes, and binding with WPF.I've managed to get my first application up and running quite nicely so far, which is...

View Article

.Net MVVM accessing property of "parent" ViewModel

Hello!I'm building my first vb.net/wpf/mvvm application and have run into a small snag that I can't seem to find an answer for on the internet.  My application launches viewMainWindow with...

View Article

Jumpy Slider control behavior

Hello all. I have a Slider control that is using two way data binding to its Value property that's showing some strange behavior. I have the following properties set for the...

View Article

how to build a player to run different WPF application

Dear all,I have a project to build an WPF application which will read its configuration setting and parameter from a database hosetd in the cloud. When the local application start, It will read it...

View Article


wpf - mismatch between the processor architecture

Last post of the night...I'm getting an error about a mismatch in architecture. I'm kind of new to VS, but can code a little. My knowledge into these deeper issues is about non-existent thought. I read...

View Article

Windows Explorer context menu in my program

How do I get Windows Explorer's default file context menu (the one I get with R-Click on file) open in my program?I have a listbox listing files in a folder, is there an easy way to get that menu when...

View Article


How to disable user input for WPF date picker ?

Hi Experts,Is there any way to disable the users from manually typing in date into date picker field ? But shuould be able to pick a date by clicking the picker button.Appreciate your help

View Article

Vacation Calendar / Scheduler in VB.net WPF?

Hi All, I've got a question regarding Calendar or Scheduler. Maybe first I will describe you, what I would like to achieve. My application is some kind of employee management tool, and my idea is to...

View Article


MVVM DataTemplate and ContentPresenter

In my example i have a MainView and in that i want to show a UserControl (ParentView). I'm trying to use MVVM so i also have a MainVM and a ParentVM.In a resource file i have following code:...

View Article

iterate a collection of images in a resource that is deployable

Uri graphicURI = new Uri("pack://application:,,,Resource.resx", UriKind.Absolute); StreamResourceInfo ri = Application.GetResourceStream(graphicURI); ResXResourceReader rsxr = new...

View Article

Trouble With Dictionary

Hey,I'm having trouble loading a dictionary .lex file. I'm not sure what the problems is. I've got a resource file called dictionary.resx with waterdictionary.lex added to. The lex file is in my...

View Article
Browsing all 18858 articles
Browse latest View live


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