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

Clean value of RibbonCombobox

get 2 RibbonCombobox, the first FiltreEtatPays and the second FiltreEtatType, the selected value of the fisrt RibbonCombobox is driving content of the second. So I would like to clean the displayed...

View Article


Microsoft Ribbon for WPF - problem under Windows XP

Hello everyone!I'm having a problem with WPF Ribbon Application under Windows XP. Applications window borders shows up weirdly and ugly. I think screenshot will describe my problem best. This is a...

View Article


Selector vs MultiSelector. Which to inherit from?

I'm trying to make a something like a diagram designer. I want it to have a ItemsSource, so it will be a ItemsControl, but I don't know which class to choose as my base class.I see that Selector can...

View Article

Perspective Camera problem

Hi, I cannot find a solution to the following problem: I defined a simple triangle in a viewport3D. When I look at the triangle from underneath (Perspective camera settings: Position="-500 -1.0 -300"...

View Article

How do you send a refresh message to a WPF grid or canvas?

How do you send a refresh message to a WPF grid or canvas?In other words, I have noticed while in debug mode, I can write code that sends a line to the display and then, if that line is not right, I...

View Article


ObservableCollection + INotifyPropertyChanged

Hi,I want to make all items in an ObservableCollection update if one of them changes.  This example, changing one item to true should make all the others change to false. How can I make my...

View Article

Can the demo code integrated with a commercial app?

Hi May I ask if I can use demo code like "XAML to HTML Conversion Demo" in a commercial application? I am not sure I fully understand its license (marked as custom).Thanks,

View Article

Climbing Tree in Template, Custom Tooltip - Binding

Hi,I have a template for text box and I have class for validating the text boxes.After lost focus event I'm using the class to validate and set the error message to the ToolTip.Everything is working...

View Article


Configure base class control via XAML

Hello,I don't know if this is the right place to ask. I've got a XAML base class, basically a custom UserControl, that defines some things, like uses a Telerik RadGridView. I'd like to defer...

View Article


How to Read / Download Text file from Web Server in WPF desktop applicataion

Dear All , I want to read text file which is stored at web server , My application is WPF desktop application (3.5) using C# , and it is not XBAP .I know perfectly how to read and write files which are...

View Article

Does richtextbox provide feature to wrap code like Visual Studio editor?

Hi, I create editor using richtextbox in which I want features to wrap code into a line like Visual Studio editor wrapping code for function and region. I'd like to know if richtextbox provides...

View Article

Editing XAML Resource File

Hi: I have a xaml file (regulator.xaml) that is used as one of many resource files in order to display a drawing in the main program. I have built a seperate utility in C# to add paths to draw...

View Article

HwndHost - GDI vs DirectWrite font size

I have two WPF test apps hooking into HwndHost, one is drawing GDI the other is using the Code Pack Direct2D library. Issue is with text and font sizing. In the GDI I use CreateFont() with a positive...

View Article


How do I clean up pending weak events?

I am using main window as context, which has an image bound to a byte[], like thisMainWindow : INotifyChanged { byte[] _image; ImageContent { get {return _image;} } Main() { this.Context = this; }...

View Article

About solutions for data exchange between asp website and xbap solution

Hello everyone,I have created a Xbap solution which is going to be hosted within an aps website. It is being placed within an IFrame.I have done some research on the possibilties of setting up a...

View Article


How to deploy my silverlight application in windows azure ?

How to deploy my silverlight application in windows azure ?Thanks & Regards, With Raghav

View Article

how set mouse pointer in particular position in wpf c#

urgent pls..

View Article


Call Method on ListCollectionView Changing

HelloI have created a ListCollectionView property in my ViewModel (named DevicesListCollectionView) and this is the ItemsSource for a ListBox. Some of the properties have a TwoWay binding so that the...

View Article

IValueConverter in Control template

I have stripped this down to only the code that illustrates the error I have (meaning the full code which would show why I'm using Thumb is too long to be helpful)The attached code works until I...

View Article

DataGrid - row selectors missing

Hi, I have a simple DataGrid:<DataGrid x:Name="gridEvents" CanUserAddRows="True" CanUserDeleteRows="True" AutoGenerateColumns="True" HeadersVisibility="All" ItemsSource="{Binding...

View Article
Browsing all 18858 articles
Browse latest View live


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