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

passing parameters to MVVM light forms

Hi,I am trying to learn MVVM Light. I have two form views with two viewmodels. the main window and a second window that I can open with a knob on my main window. every click on this button opens a new...

View Article


Bind Dictionary to combobox

I have the List of double Arrays. Some values are predefined. And I want to bind this list to DataGrid. Actually datagrid cells are comboboxes filled with Dictionary Values. The idea is that user...

View Article


The IsSelected property in XAML

I need to set the BackGround colour for the Grid to Transparent when it is selected.Error:  The IsSelected property is not available <Grid.Resources><Style TargetType="{x:Type...

View Article

User need to press Tab key or Click TextBox to enter text in a new input...

Please, help me.I am new in to Programming.Visual Studio 2015 Express. WPF application.In a Login Page, I have User id & Password Text box.But Blinking Caret/cursor is missing. It supposed to be at...

View Article

Image may be NSFW.
Clik here to view.

How to insert image from image control into WPF to SQL Database using entity...

Hi, Guys i am creating an app to save student information into SQL , I want to know how to insert image from image control in WPF using entity framework to SQL database i made event to upload image...

View Article


Insert image into sql server, and select from datab se with wpf C# ado.net...

I'm developing an app that needs to save an image from image control into database for a record, the image must be part of the description of a product or something similar, and call it from database...

View Article

F# EllipseGeometry: namespace 'Media' is not defined error

 In my source file I have:open System.Windows.Media...let eg = EllipseGeometry(new Point(50, 50), 20, 45)...I get this error:"error FS0039: The namespace 'Media' is not defined"I'm using the open...

View Article

Change the TreeView Expander colour change

How can we change the TreeView Expander colour to some colour like Green or Blue?Ho can we align the Highlighting Colour to Center around the text?How can we highlight the whole line instead of just...

View Article


WPF Editable ComboBox HorizontalContentAlignment in ItemsControl problem

I have a combobox with iseditable property to true inside ItemsControl.I set my combobox HorizontalContentAlignment to "Right".The dropdown values are showing in right side.But after selection the...

View Article


Help

<HierarchicalDataTemplate DataType="{x:Type LocalParcel:DistrictInfo}" ItemsSource="{Binding Members}"><StackPanel Orientation="Horizontal"><Image...

View Article

ScrollBar is automatically going down

I have ScrollViewer. Inside the scroll viewr I have itemscontrol.I am binding the controls dynamically to my items control.First time my scroll bar showing the first position.If I open the window...

View Article

Providing Default Background using OverrideMetaData

Hi,I am trying to provide the default background for the window by using "OverrideMetaData" as shown below.I am able see the default Height and Width got affected but not the background of the...

View Article

WPF Webbrowser failed Ajax-Call in TFS WebAccess

I am currently developing an application that analyzes TFS workitems utilizing the TFS API in C#. In order to review and edit WorkItems I create from code, I want to use the WPF Webbrowser control to...

View Article


DataGrid horizontal scrollbar visibility issue when last column width set to '*'

Hi,here I have DataGrid with 3 columns and last one's width set to '*'. It's needed to remove extra last column. But when it's set so there is no horizontal scrollbar when it's needed. For example I...

View Article

How do I pass the name of the field into a value converter?

This is a bit unconventional. I've written a value converter that returns a TextDecorationCollection. My intent was to get that by using thevalue parameter of the Convert() method to be the name of the...

View Article


Where is a good WPF Conference

I am a new developer in WPF VB.NET and wanted to know if there are any good conferences for WPF?Chris Sergent

View Article

I wish to navigate from one page to a different page but to a specific text...

(I'm new to coding!) I understand how to go from one page to a different page using frame.navigagate(typeof(DifferentPage)); but I'm not sure how to navigate to a specific area on that page (which is...

View Article


Image may be NSFW.
Clik here to view.

Custom attached DependencyProperty

Hi. I was using custom attached DependencyProperty(s) since a long time without trouble...But something happened: it still works when the app is running, but the xaml designer in Visual Studio gets...

View Article

Get Database BEFORE XAML Windows.Resource calls a constructor

I am putting my call to a service to get database info in my Window_Loaded handler where I save the relevant information from the database as an object in the ResourceDictionary that is contained in...

View Article

WPF DoubleAnimation move Window from bottom of screen

I have got a window which needs to slide in from the bottom of the screen, but i'm not too sure if I can do this without using code behind and by following MVVM standards. What would be the best way...

View Article
Browsing all 18858 articles
Browse latest View live


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