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

Getting the value of my Custom DependencyProperty?

Hi,I create a DependencyProperty for my WPF RibbonTab:public static class ExecuteViewParameter { // Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling,...

View Article


Bind listbox to an xml file at run time

I'm sure this is a simple issue, but I'm just getting to grips with xaml. I have a vb WPF browser app in VS2012 with a listbox control bound to a simple xml file (ValueList containing Value elements)....

View Article


hyperlink layout bug?

I'm developing a really simple control which is basically just a hyperlink that displays DatePicker in Popup when clicked (all created in code, but I think it doesn't matter). XAML:<Window...

View Article

Keydown does not get fired up

hi.. group, i am quite new in WPF stuff. I make up a project using Blend and put a keyDown event handler. when I run the program, the OnKeyDown function is not called no matter what key you press. Is...

View Article

WPF Application setup

Hi, I have one WPF windows application for which I need to create setup for deployment. My application is using sql server 2008 R2 SP2 Express Edition at backend for storing data. Now I have to create...

View Article


Image may be NSFW.
Clik here to view.

How to set X value tool tip for DataPoints on chart, code behind wpf toolkit

I have default Y value at data points tool tip, i want add X value too.Need code behind (not XAML) for WPF toolkit. Thank you

View Article

OleDbAdapter nested select queries

I have the following query which works for me in MSSQL:SELECT*FROM[PRODUCTION].[dbo].[OFFLOADINGDATA]WHERE[DATEROW]NOTIN(SELECTtop((SELECT...

View Article

Characters of a TrueType font missing in Windows.Controls.TextBox

Hi,I have a Windows.Forms control that changes font from a ComboBox and applies the selected font to the Windows.Controls.TextBox control. When I apply a True-Type font for this TexBox control and type...

View Article


WPF DatePicker SelectedDate Binding Format

Hi,I am using WPF DatePicker Control which is bound to DateTime field. Now I used stringformat property of binding like below to specify dateformat : <DatePicker SelectedDate="{Binding Path =...

View Article


How to bind several data (more then 7300) to datagrid

Hello,I am trying to  bind to datagrid several data. I created an observablecollection, i stocked data into this collection and then i binded this collection to my datagrid. In xaml file i declared my...

View Article

Binding DataGrid to a List object Using Visual Studio

Hi There,Should be very simple thing I just cannot get it right. I have following class:public class NameC  {    public string FirstName {get; set; }    public string LastName {get; set;} }public class...

View Article

Save Image from MemoryStream to XPS Document from WPF Flowdocument

Hi, I am working with creating WPF Flowdocuments from windows that are dynamically loaded from xaml that is stored in a database.I need to take advantage of the pagination of an xps file format, and...

View Article

How does one create a setting that impacts all buttons?

How does one create a setting that impacts all buttons? ... such as  xml:space="preserve".cte677

View Article


wpf #define equivalent to set a two different standard button widths …...

How does one set a value (similar to #define) that sets two different standard button widths (MinWidth) ... perhaps using application.resources? Buttons later would use one of the standards defines.cte677

View Article

Omit the blue mark item selection from list box

I'm using the following for list view and i want to disable the blue mark when user is go over the list with the mouse (the list is read only and you cannot modify it...),how can i do that? I was try...

View Article


Custom ValidationRule throws ArgumentOutOfRangeException

Hi  there.I've been developing a custom ValidationRule, following the MS example by the letter but it is throwing an ArhumentOutOfRangeException during the validation process.I have the following...

View Article

DataGridTemplateColumn.CellEditingTemplate ComboBox Binding to Datatable

HiI have a datagrid and one of the columns is a DataGridTemplateColumn and it has a combobox as it's CellEditingTemplate. Is it possible to binf the combobox to a DataTable?<DataGridTemplateColumn...

View Article


Image may be NSFW.
Clik here to view.

Is it a joke? There is not enought virtual memory available.

2 or 3 in 10 times I get this message after pressed F5There is not enought virtual memory available. Please save you work and restart {0}Press OK and everything goes fine.I don't really get the point...

View Article

How to load a WPF from a custom made ribbon control

Hi,I have created a Word Addin that tracks copy pasted content across .docx documents. I would now like to give the user the option to  visualize this information. I want to use a WPF to bring up a...

View Article

ListView Item Selected

I have a listview as shown in the code below. How can I get the selected row info when selected in the code behind.<Grid x:Name="LICGRID" Margin="50,412,51,10" Grid.Row="1"...

View Article
Browsing all 18858 articles
Browse latest View live


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