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

4 to 4.5 second delay before window visually activated after initialization.

As of recently (two weeks) I noticed that a WPF applications take more time to appear on screen, even though the window has already initialized and loaded (events have fired). After the Loaded event...

View Article


Integrating Outlook with WPF

I want to integrate outlook with WPF app,but how do I confirmwhich version of outlook interop library(07,10,13) should I load which may depend upon different machines having different versions of...

View Article


Populating 100s of item n ListBox MVVM

Hi,My application is WPF application and I am using MVVM pattern to populate the listbox in view from viewmodel class. The configuration data is present in xml file.So like common implementation of...

View Article

WPF DataGrid and Crystal Reports

A WPF navigation application in Visual Studio Professional 2013-I have a DataGrid already defined and populating from a SQL query.  All is fine here.  I need to create a report using the data in the...

View Article

Link or sample for loading Outlook Interop library based on installed outlook...

I am looking to dynamically load Outlook Interop library in WPF code based on what version of outlook is installed on the machine .Do I need to check in registry to check installed version of outlook...

View Article


WPF: how to ensure all selected rows got highlight no matter rows in visible...

Our application uses DataGrid control. There are 96 rows in DataGrid. Visible area only can display 10 rows.What we notice, if rows are in visible area, those rows are got selected through code.Those...

View Article

XBAP HostScript new Window

I'm running into an unusual one that I can't explain and hoping someone can enlighten me.  I've got an XBAP app that interacts with the default.aspx (ASP.NET) page through the...

View Article

WPF: how to move selected cells/rows into visible area in DataGrid?

Our application uses DataGrid control. There are 96 rows in DataGrid. Visible area only can display 10 rows.so that most of rows in DataGrid are not visible. When the rows in Grid got selected through...

View Article


Create "balloon arrow" in popup control

Hi, how can I create an balloon arrow in a popup control?This is my code:<!--Settings popup--><Popup PlacementTarget="{Binding ElementName=settingsButton}" StaysOpen="False" Placement="Top"...

View Article


How can I set the the color brush of the HighlightBrushKey?

Well, I want to set the background of the rows of the dataGrid with a converter. For that, for a custom style for a dataGrid I have this:<Style TargetType="{x:Type DataGrid}"><Setter...

View Article

Change Button Background using Trigger On Mouse Hover, Left Button Down,...

Hi ,I have the below style for My Button and the Triggers are not working. Please some one help me out to solve this issue. I am changing the Button Background colour on different events say on button...

View Article

PRISM with multiple Shell

Hi,I am using PRISM 5.0 with Unity.Currently I had one Shell with different region layout and user controls. These user controls are loaded in region.Now I want to create another Shell with completely...

View Article

Is it possible to keep the blue color of a row when the datagrid lost focus?

I notice that when I select a row in a dataGrid and select another control, when the datagrid lost the focus the row is turn to a light gray, that is very difficult to see, so I would like to know if...

View Article


Prevent user from changing Content of UserControl

Hi everyone,I'm work with with UserControl. I've made a simple user control which displays images to screen . It works fine, but, how can I prevent user from modifying my usercontrol's content ? Thank...

View Article

RichTextBox: EditingCommands issues

Hi, I am using EditingCommands for editing richtext. But I am facing some issues- 1. EditingCommands.IncreaseFontSize and EditingCommands.DecreaseFontSize used in the richtextbox for controlling font...

View Article


Bind data to CustomMessageBox

Hi everyone ,I'm making an UserControl called CustomMessageBox . And this is my code . It uses some custom button styles but you can remove 'em <Window x:Class="HelloWorld.CustomDialog"...

View Article

Redirecting from page1 to page2 in WPF browser application

Good day, i am building a wpf browser application but i am having difficulty redirecting from one page to another in the event of a button click.normally, in asp.net, i would use  protected void...

View Article


Test running a XBAP

Good Day, i hv created a XBAP application and wanted to run it, on clicking the play (start debugging) button, it opened a web page the a save file dialog box to save the page. why is that please? I...

View Article

WPF: Add statusbar programmatically

I want to create a new window by pressing a button. No problem with that. I want to add to this new window a statusbar. I can add a lot of other controls, but I can't seem to find statusbar type. There...

View Article

Layout not behaving correctly.

Hi,I'm kinda new to WPF and are having some issues with this form resizing correctly when the expander is clicked.basically i want the form to grow and shrink when the expander is clicked, which kinda...

View Article
Browsing all 18858 articles
Browse latest View live


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