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

datetimepicker format

Hi All.I'm using Xceed.WPF.Toolkit. And would like to format DateTimePicker control like ShortDate and ShortTime together. When I tried:<xctk:DateTimePicker Format="Custom" FormatString="MM/dd/yyyy...

View Article


DatePicker, how can I change the FontFamily for the contents?

hi,<DatePicker x:Name="FechaNac" Grid.Column="1" FontFamily="Trebuchet Ms" FontSize="14" Grid.Row="6" Height="24" Margin="15,8,166,10" Grid.ColumnSpan="2">...

View Article


Is it possible it inject a dynamically generated context menu in to an MVVM...

Hi there,I've been asked to come up with a solution for a plot view user control which is contained inside another view. They want to be able to inject a context menu in to this view so that the...

View Article

Getting the selected row in RadGridView

hi,How can I get the whole row (I'm not interested in a concrecte cell or item but all the cells at the same time)I'm seeing that my RadGridView control does not have SelectedRow method.Thanks in...

View Article

Image may be NSFW.
Clik here to view.

Bring to front one application launched out of VS 2012

hi there,I'd like to show one icon in the below expander control in my main view of my app if my client started some application, i.e Ms Outlook 2010.How can I do that?How can I detect if Outlook.exe...

View Article


Trying to set controls enabled based on code in data context...

Hi,Simple problem.  I need to have a xaml control set it's enabled property based on some logic.  The form is one where it is in read only or read/write mode.  So the "easy" solution I came up with was...

View Article

RadImageEditorUI databinding doesn't work

Hi ya, I wrote this thread in Telerik's forum but I still don't get a response.I'm using this control under trial license. I'm trying to do a very simple binding but it doesn't work at all: In the...

View Article

Printing RTF WPF

helloIm trying to print a rtf in a table cell with all format. Im really a beginner.using this code:FlowDocument myfl = new FlowDocument(); TextRange trvb = new TextRange(myfl.ContentStart,...

View Article


Expression Blend 5 Performance in TFS-WPF context

I'm working as an InteractionDesigner with Blend5 inside a huge WPF-Project. The performance of this application is just horrible mainly because of the communication with TFS. Every 2-3 minutes Blend...

View Article


How to implement Client Application Service in WPF with Windows Authentication?

I configured a lightswitch application with an aspnet membership database. I use it to add users and roles. Now, I want my WPF to use Client Application Services with Windows Authentication set up to...

View Article

Validate Password and Confirm Password

Hi,I have a WPF form which has following controls -Name - TextBoxPassword - PasswordBoxConfirm Password - PasswordBoxSave - ButtonWhat is want is - Enable save button only if all controls have valid...

View Article

Load Usercontrl by name in WPF

Hi All, I have a WPF page with a contne control on it. Currently I am loading the usercontrols in it, on clicks of two different buttons, in the following way : ContentWindow.Content = new...

View Article

ArgumentException on loading loose xaml (Object ... cannot be converted to...

Problem:I need to load loose xaml dynamically and create control that will contain UserControl defined in loose xamlSolution:uc.xaml<UserControl...

View Article


Problem in Time delay in wpf

Hi,    I have a one textbox and one button..if i click the button it will display the email (retrieve the emails from sql database) in textbox..each 2 seconds email has been change in textbox till last...

View Article

Binding null when getting DataTemplate in code

Hi allI'm trying to get a DatatTemplate from a ResourceDictionary in code. The problem is when I'm trying to save it to string I get all the Binding location to be either empty or null.Here is my piece...

View Article


Binding to the WindowState of a window

Hello All.I am writing a app in C#, WPF. I have the need to control the WindowState programatically, as certain events occur. I already have code that will minimize the window into the system tray, if...

View Article

Windows Content did not show up when we use Window.ShowDialog()...

Hi,I use WPF in .Net 4.0, When I show a modal dialog using Window.ShowDialog(), sometimes, the content in the window is empty, when you move your mouse over the window, the controls on the window start...

View Article


Get started with Async web service programming

I have a web service that works with a website. I would like to create an application that is gong to connect to this web service and return some data. I have been following a few tutorials and have...

View Article

Gala.MVVMLight.RelayCommand's CanExecute not working

Hi there,Our WPF application uses .Net 4.0 and utilize GalaSoft.MvvmLight.WPF4.dll for binding our button's command to our mvvm's RelayCommand.Everything works fine until I installed .Net4.5 on my...

View Article

Convert images to xps document

Hello,I havelong sought a solution to this problem.I have a series of images that are the result ofa conversion of a pdf into images precisely.I need to createanXPSdocumentwith these imagesand in...

View Article
Browsing all 18858 articles
Browse latest View live


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