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

Observation collection not updating when multibinding

I have a static Observation Collection MarketList in ViewModel  It is bound to table in following Manner    <FlowDocumentScrollViewer Height="216" VerticalAlignment="Top" Margin="-7,2,7,0" >...

View Article


Missing some PresentationFramework assemblies!?

Hi,I developed a WPF Application with NET 4.0. It works finde on my maschine, but after deploying it to other maschine some Buttons are not displayed correct (or totally not rendered) or Styles are not...

View Article


iTextSharp on WPF,

Hi all of you, does anyone have samples with iTextSharp on WPF 4.5? I am trying to create a pdf on the fly using my old Windows Forms 2.0 code but it does not work at allPrimary platform is Windows 7...

View Article

How to bind different DelegateCommands to button down and button up

Hi,In my current project I need to implement separate commands for button down / button up.As soon as the button is pressed I need to start a process and then as the button is released I need to stop...

View Article

Label content binding dynamicaly

Hello,I want to bind label content dynamically at run time. When the binding property null or empty I want to show bind value(name) as content. I have try as below but it not works:<Label...

View Article


TextBlock dynamic binding

I have a WPF TextBlock bound to a string using Dynamic resourse. If that string is null, I want the TextBlock to display binding value.<TextBlock  Text="{DynamicResource keyState}" >if...

View Article

Image may be NSFW.
Clik here to view.

Printing XPS document from DocumentViewer

My current problem is either a wierd bug or I have no idea how to make documents.I'm trying to print some reports from WPF, and I'm initially generating them as Flow Documents and than converting them...

View Article

Subscribing to changes in a WPF object

While there are events for WPF objects such as SizeChanged for a Window, there are other DependencyObjects that do not notify you if their content changes.I recently found out that SizeToContent will...

View Article


Image may be NSFW.
Clik here to view.

VS2010 - DataGrid: Leftmost VerticalGridLine not visible

Hi all,I'm still struggling with DataGrid. When trying to paint a little Grid w/o an Border and with GridLinesVisibility="All" the leftmost vertical line of the leftmost cells is not painted. Here is...

View Article


How to bind label background color dynamically?

Hello,I have a label inside a listbox and I tried to add background color dynamically.  but it is not worked for me. can someone help me? code as below,<ListBox x:Name="libTest"...

View Article

How to pass the text for the tooltip using parameters from my XAML?

hi ya,I need to define the text for one customized tooltip object in my WPF 4.5 app.My view:<Button Height="30" Content="Click Me" Margin="593,41,-295,89" Grid.Column="1"...

View Article

How to translate the image movement into points of stroke

Hi everyone, I have an image with a menu. I want to draw some lines by choosing an option in the menu. These lines should be drawn on SurfaceInkCanvas by using an object such as an icon or a small...

View Article

Whats new planned for WPF in Next (2013-2014) Visual Studio

Hello. Could someone answer what new is planning for WPF on next VS release? I didn`t find any info about that. Or MS would not update WPF anymore?

View Article


Binding to IconSource - in the Notification Taskbar

Hello All,I am using the custom taskbar, as per: http://www.codeproject.com/Articles/36468/WPF-NotifyIcon.Here is my notification Icon's definition:<tb:TaskbarIcon x:Name="myNotifyIcon"...

View Article

How to use items Control with in another itemscontrol itemtemplate in XAML

Hi,Is possible to use Itemscontrols with in another Itemscontrol itemtemplate.The sample code is,<Itemcontrol ....>     <ItemsControl.ItemsPanel>       .......

View Article


Help Creating a Custom Splash Screen?...

Hi,Need help trying to get my custom splash screen working based on this example from Channel 9 "Improving perceived WPF app startup performance with MEF and a Splash Screen".I can't get any of the...

View Article

Microsoft.Mshtml throws exception in Windows 7 64 bit machine, where as it is...

I have a WPF application, in which we are using webbrowser to render web pages on it.((mshtml.HTMLButtonElement)(element)).type throws below exception when we run on Win7 64 bit machine.Member not...

View Article


How to show Acrobat Reader's control in Web Browser Control

How to show Acrobat Reader's control in Web Browser Control such as page number control, previous and next buttonwhen opening a pdfDesigner

View Article

WPF Data grid Empty message

Hi friends ,I am devoloping WPF application.I am binding the data grid using List Collection.In my project I am binding datagrid in two ways. one way is normal data binidng(using datacontext) and...

View Article

BorderBrush Gradient Question

Thank you XAML guy - that worked.  I thought I had background in there, seems missed it.What I really want is to have a border line formatting with Brush, something like this:<LinearGradientBrush...

View Article
Browsing all 18858 articles
Browse latest View live


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