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

How Can I Extract Bitplanes Of A Gray Image?

hi there. how can i extract bitplanes of a gray image in C#? i wanna read a gray picture from some place and so : a) show it with biplane1 b)show it with biplane1 and 2 c)show it with biplane1 and 2...

View Article


Filling combobox with observable list which consumed from wcf service

i am Beginner in WPF.i am trying to fill combobox with observable collection which is retrieved from wcf servicexaml code:<ComboBox x:Name="cmbclass" ItemsSource="{Binding ClassList}"...

View Article


How to get text form resource file in Flowdocument.

Hello,My requirement is i want to get paragraph text from resource...

View Article

Mutually exclusive checkbox in WPF-DataTemplate

Hi all,Am very new to WPF and I need some help in one implementation. I have a DataTemplate which has few controls and a checkbox. Inside a listbox control, I would bind this data template as...

View Article

Problem with MenuItem Command Binding

Hi,I have a MenuItem like this<MenuItem Header="Kund" Command="{Binding SokKundCommand}"/>It does not fire SokKundCommand in my ModelView as a Button usually does. What is problem?

View Article


deploying reports for a WPF application

hi,we should create and deploy reports for a WPF application. The app is developed in VS 2013, following the MVVM pattern and using Oracle DB.We are newbie with this matter, so we are searching the...

View Article

Datacontext for included user control

Hello,I have a XAML window named MainPresentation in which I include a User Control named CircularGraph. MainPresentation has a resource (for DataContext) named MainPresentationVM (see below). I want...

View Article

How to assign names to new objects dynamically at runtime?

I created a class, and want to use the constructor Rtb(),public class Rtb:RichTextBox { public RichTextBox newRTB; public Rtb() { newRTB = new RichTextBox(); newRTB.IsReadOnly = true;...

View Article


Image may be NSFW.
Clik here to view.

Calculate Triangles & Determine Planes from 7 3D Points???

I have 7 3d points. is there any way to triangulate these points to give the outer mesh above? i have a triangulate method but at the moment it triangulates them in a way that ignores the planes and...

View Article


Image may be NSFW.
Clik here to view.

Implementing relation between regions in prism and mvvm

I want to design my new software with WPF, MVVM and PRISM. I have some done some project using WPF and MVVM so I’m familiar with them. Here is the structure of my ShellWindow.  I want it work in the...

View Article

Datagrid works different under .NET 4.0 and 4.5

After Update from .NET 4.0 to 4.5 I see only small black lines in my Datagrid. I bind the Datagrid to a Datatable. It works fine under .NET 4.0. The XAML and the Code...

View Article

Plugin based application - best way to open plugin's own window

I'm developing a plugin based application.I wonder what's the best way to open the plugin's config / main window.Currently my application show a window with the compatible plugins and two button with...

View Article

EvaluateOldNewStates() throws exception when updating TreeViewItem.IsSelected

I apply a WPF theme in my application. At some point in my code, I need to change the selected tree view item. so I update the property MyViewModel.IsSelected and raise PropertyChanged event.Then I get...

View Article


Sort words

I have a FlowDocument with several lines of text:This is my text1 first WORD first text1 to the right.This is my text2 second WORD second text2 to the right.This is my text3 third WORD third text3 to...

View Article

Modul Class Constructor

Hi I am new to Prism Modular Development and have a doubt with it.Some people have the ModuleClass Constructor likepublic KundModul(IUnityContainer container)while other have like public...

View Article


How to get value of context item menu which element is clicked?

I have context menu which is used by the list. List has multiple elements and I don't know how to pick value of element which is select. How can I read the name of that element?

View Article

Image may be NSFW.
Clik here to view.

Enable user only to update their own credentials

Hi guys,I'm creating an authenticated WPF application. I have used this custom authentication to help me achieve this. However, as part of my application, I have two types of users; a Staff and a...

View Article


How to add a component to Context menu item which will create on click?

I have context manu:    <ContextMenu x:Key="MyContextMenu">        <MenuItem Header="Send" Click="MenuItem_Click_2">        </MenuItem>    </ContextMenu>I need to add the Color...

View Article

Image may be NSFW.
Clik here to view.

Custom Expander Style => Expand/collapse images are not getting displayed on...

Hi,I have created my own style for Expander and I have put it in UserControl's resources.I have three expanders. Style is getting applied to all of them but the Images are not getting displayed on all...

View Article

Excel ,CSV and TSV(Tab seperated test file) file viewer in WPF

My Application has option to import data from excel,CSV and TSV files.I want to give the user option to preview the file before import in my WPF application.Which user control is available in WPF to...

View Article
Browsing all 18858 articles
Browse latest View live


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