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

WPF Increase Max Memory on demand with XBAP

Hello there!   I'm making a XBAP project that need's more than the usual (1,2 - 1,4)Gb of max memory allowed from the presentationHost.Is there a way to increase this limit? I read a few posts but...

View Article


Using GetCurrent().Name in WPF

I'm creating a WPF application that will use a system to help a user log into an application.So far, I have two window controls. 1 for setting up a user (username, their role, password, email etc) and...

View Article


How do I add a button on DocumentViewer top toolbar?

Hi,I have a DocumentViewer control and I want to add some buttons on the top toolbar. It seems I need to edit the template but I can't seem to figure it out. Any help would be greatly appreciated.Thanks

View Article

How to set a UserControl to Content Control available in Window

Hi,I have a user control and a Window in WPF Application. I want to bind the usercontrol in the contentcontrol from the XAML only. I tried in the below way but its not binding. Can you help me how to...

View Article

Can i run Wpf base application in any Tablet?

Hi AllHow can i run WPF Application (Xbap) in any tableti need your suggestions for type of tablets, type technologies Thanks & Regards Manoj Patel

View Article


System.ArgumentNullException Value cannot be null. Parameter name: key

I am using Visual Studio 2012 Professional(using C#/XAML for windows 8 apps development). WPF designer fails to load showing : An unhandled Exception has occured. Details: System.ArgumentNullException...

View Article

Image may be NSFW.
Clik here to view.

Can we show a graphical picture using WPF ? Like a flow chart.

Hi,I have a requirement where we need to create the images dynamically like we do in Visio. I am attaching the image how we need to desing. Is there any classes or some tutorials which can help me to...

View Article

Update textbox based on combobox selection in MVVM

Hi,I have a View with combobox and some textboxes, which is responsible to add new Customer record.  When the View is displayed, the combobox displays of existing customers.  If user selects one from...

View Article


OpacityMask strange behaviour

Hi! I have a problem using both OpacityMask and Clip properties of UIElement.When I set these two properties, then two unnecessary lines appears at the left and right sides of the UIElement.This markup...

View Article


Screen Navigation Best Practices in a borderless transparent background window

I have a WPF application that has several different screen scenes defined as separate grids all on a single Window that is borderless and transparent background.  There is a Home and Back button at the...

View Article

Coded UI - Cannot playback WPF DataGrid

I am learning Coded UI automation testing. Now I have a problem to playback when I click the second row on the WPF DataGrid, “bill”.  Here is my code. I tried to modify product code. But I just...

View Article

editable matrix type control with dynamic columns

Hi,I have a datatable. Which is returned from an sp. This sp can return a datatable with x amount of columns so I can create a datagrid which can display okThe data looks something like this -identity...

View Article

How to make a UserControl be Dragable/Moveable?

I have a WPF project with a MainWindow and some UserControls.  I would like the user to be able drag or move these UserControls anywhere on the MainWindow Grid.  I have seen some examples of this but...

View Article


I set Stretch of Grid.Background to None, but it doesn't work.

My code below:<Grid Name="MainGrid" Width="700" Height="400">        <Grid.Background>            <ImageBrush ImageSource="/Memoryer;component/Images/BackGround.png" Stretch="None"...

View Article

gridview column width not adjusting

My app has a window with a frame. The frame contains a page with a listview/gridview and buttons for adding a new row or editing an existing row. If the user selects the add button, the current page is...

View Article


MissingMethodException when creating CommandBindings

Our program fails to open window which uses command bindings. Program works fine on dozens of computers but with one customers computers it throws MissingMethodException. Computers are with Windows 7...

View Article

How to make HwndSource window transparent?

Hi all, I want to show a HwndSource window above a Win32 window, and I don't want this HwndSource window to hide the background of the Win32 Window. Is there any way to make the HwndSouce transparent?...

View Article


Image may be NSFW.
Clik here to view.

Creating a login page using WPF and display user from database

I'm creating a WPF application that will use a system to help a user log into an application. So far, I have two window controls. 1 for setting up a user (username, their role, password, email etc)...

View Article

A Slidable Items Control on Touch Screen

 Hi, I'm working on an application which will be running on a touchscreen where I'll show a list of items in a control like a ListBox. The functionality I need to accomplish is that besides the normal...

View Article

MVVMLight command CanExecute not firing after async call

I'm using MVVMLight in a WPF4 project, and have set up an ApplyCommand and an UndoCommand, which are bound to buttons on the view. All standard stuff, done many times. When the user clicks a button, a...

View Article
Browsing all 18858 articles
Browse latest View live


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