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 ArticleMissing 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 ArticleiTextSharp 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 ArticleHow 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 ArticleLabel 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 ArticleTextBlock 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 ArticlePrinting 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 ArticleSubscribing 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 ArticleVS2010 - 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleWhats 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 ArticleBinding 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 ArticleHow 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 ArticleHelp 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 ArticleMicrosoft.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 ArticleHow 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 ArticleWPF 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 ArticleBorderBrush 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