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

Image may be NSFW.
Clik here to view.

Bind command to other viewmodel?

Hi,i have a mainview+mainviewmodel (first image) and a flyoutvview+flyoutviewmodel (left side of second image)when i click on the settingsbutton in the mainview, it executes the showsettingscommand and...

View Article


Image in UserControl not visible

Hello, I am using MVVM Light and i have the following problem:I am having a window which has an ItemsControl in the xaml, which looks like this:<Window...

View Article


Image may be NSFW.
Clik here to view.

Checkbox column datagrid in wpf

i have datagrid downloaded data from xml filе how to programmatically handle the event ? checkbox if true then all lines equaled true checkbox as shown in Figure Projec twriting onvisual basic-code

View Article

Get username while using "Integrated Security=true"?

Hi,I'm stuck with some weird issue of permission on database/table in SQL server. There is one WCF service running on IIS and contains code to connect to database. We are using "Integrated...

View Article

How to prevent a child control from displaying beyond the boundary of its paren?

Suppose we have the following:<Border Width="300" Height="300>    <Grid Name="gridChild"    RenderTransformOrigin="0.5,0.5" ><Grid.RenderTransform><CompositeTransform...

View Article


how to access dependency property of child user control in wpf mvvm

I have a  MainWindow.xaml which looks like below:<TabControl TabStripPlacement="Left"><TabItem Header="Display Tree Data Details"...

View Article

Surface Controls causing OutOfMemory Exceptions when trying to check for...

We use many controls from Surface Controls SDK 2.0. But on certain machines it causingOut Of Memory Exceptions to be thrown when application starts up. Looks like it's trying to check if...

View Article

Is it possible to duplicate usercontrol content WITH popups (tooltips,...

Use case: I'm trying to replicate functionality similar to PowerPoint "Presenter View", whereas the presenter window displays a live "slide" UserControl along with presenter notes and other...

View Article


How to have many custom controls in the same library?

I have a solution with two projects. One WPF application that consumes custom controls and another project that is a WPF custom control library.In the custom control library, I have a theme folder with...

View Article


Why can't I see the preview of the custom control in my window in design...

I have a custom control that is used in a window. I am using WPF. When I am in the design of the custom control I can´t see the preview of the user control, and I would like to see it in the same way...

View Article

With a custom control, I get the error that I can't create a type from text...

I a custom control where the generic.xaml file is this:<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Validation Rules with ViewModel

Hi, I'm trying to make a form with validation. I'm using "ValidationRules" and what I want is to tell the "ViewModel" which must activate / deactivate a button. I tried with IDataErrorInfo, but I could...

View Article

Datagrid using MVVM Adding and Delete

Hello please help to my datagrid .. when i open the section of my datagrid it will not responding .. here's my datagrid code <Datagrid x:Name="dgrid_tempstore" ItemsSource="{Binding Path =...

View Article


Image may be NSFW.
Clik here to view.

Problem in binding Checked property of Radio Button in WPF

I have trouble in binding radio buttons in tab control template. I have a TabControl template with two radio buttons. I have binded the tab control ItemSource to the container from code behined. My...

View Article

Combobox not selecting after initial selection WPF MVVM

Hello all, I've got a ItemsControl loop of Comboboxes being created in my XAML.  I bind the ItemsSource to the Ancestor and the SelectedItem to a SelectedItem property in the model.  My problem is that...

View Article


Why is WebBrowser not releasing all memory on Dispose()?

If one googles for "WebBrowser Memory Leak", there is quite a discussion around the topic.  There is so much information out there, much of it conflicting, I don't know what to think.Simply put, I have...

View Article

Is there any way to modify the text of a textBox when I resize a control?

I have a uniform grid that have many textBox, like a matrix. When I resize the window that contains this uniform grid with the textBox, the textBox are resized propertionally to the size of the window....

View Article


How to Insert DataGrid Record from another User Control

I want to insert some record into DataGrid grid1 which is in Child1 User Control and i want to fill this data Grid record From another User Control Child2, insort i want to transfer some data from one...

View Article

Disable Enable Webcame in WPF

Hello there,I want to know how to disable and enable webcame in wpf application using C# as programming language.Thanx in advance.Om Prakash

View Article

interoperation / Loading and unloading WPF assembly from arbitrary path Pin

I've put this question in the .NET folder since I guess this question is more related to the .NET framework than to C# or C++/CLI.I'm currently struggling to find a way to load and unload a WPF...

View Article
Browsing all 18858 articles
Browse latest View live


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