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

Creating a dynamically 3D model in XAML

Hello all.<o:p></o:p>I would like to ask some advice about how to create dynamically 3D models using XAML and C#.<o:p></o:p>Basically the program will import two .dxf...

View Article


Weird performance problem with Shapes.Path

Hi,I got a weird performance issue with the System.Windows.Shapes.Path class.I have a loop creating about 40,000 paths into a Canvas. There are one or two handfuls of different Brushes used for the...

View Article


update status and progress bar on popup from VM

I have a simple UserControl that has a textblock and a progress bar.  The textblock and bar are bound to some values in the ViewModel.I have defined this control as a popup like this.<Popup...

View Article

DataGrid ScrollIntoView does not bring given item into view (when using...

Hi All,I use the DataGrid from .Net Framework 4.5 with row and column virtualization enabled. If I select an item in the DataGrid, add grouping using the DataGrid GroupStyle property and then execute a...

View Article

WPF Window control with UserControl

I have one window control and I added one usercontrol in that. Now I want to access windows stackpanel visiblity true on button click of usercontrol button how it will possible can any one help...

View Article


autoclose menuitem list

Hi All.I have MenuItem with radiobutton list. I would like when user will select one of radiobutton that menuitem list automatically close. How it to do?Thanks.

View Article

Image may be NSFW.
Clik here to view.

Unhandled exception in XAML

I have a message that says I have a argumentexception in my xaml. I have included a picture below.chuckdawit

View Article

Creating geometry for Viewport3D using Multitasking?

Hi,I'm trying to populate a Viewport3D with UIElement3D objects. Because there is no DataBinding and Templating available with the Viewport3D, I do this manually using code.First, I create a...

View Article


How to display a text value in the designer but also do a binding?????

Hello,When I define a textbox in my XAML, the designer will display the text as long as the Text property has a value:<TextBlock Text="MyValue" /> But if I use a binding for the Text value, the...

View Article


SHARING a DependencyProperty, really???

Hi guys,i am new to WPF and i am still learning but is this really possible?I found this blog about sharing dependency property between two different classes.Does dependencyproperty system allow me to...

View Article

WPF UI Virtualization

I am very new to WPF so please excuse me if the question seems naive. My objective is to create a WPF 'form' dynamically which contains only pairs of labels and combo boxes depending on the number of...

View Article

Flow Right to Left Sub Menu opens to wrong direction - only in VS 2012

This code works prefect on Visual studio 2010on Visual Studio 2012 the Sub Menu Aligns to the wrong side (as in LTR and not as it should be on RTL)<Window x:Class="menutest.MainWindow"...

View Article

Image may be NSFW.
Clik here to view.

Speech Recognition

I have developed a simple application using Microsoft's speech recognition which does the followingRecognizes a letter B and shows the command line argument on a message boxWhen I try to run it...

View Article


Navigation_from_Frame_on_Window

Hi there, Anyone knows some good tutorial about Navigation UserInterface through one frame hosted in a Window pls?

View Article

WPF Datepicker MVVM Light passing selected date to viewmodel

I'm new to this and I'm at my wits end so I'm reaching out for help.I'm trying to pass the selected dates to a property that I can then use in a sql query, but the dates past are the default and the...

View Article


Indeterminate ProgressBar inside ListBox ItemTemplate does not displayed in...

Indeterminate ProgressBar inside ListBox ItemTemplate does not displayed in WPF. Bug?Currently using Framework 4.0<ListBox ItemsSource="{Binding FileDownloads}" HorizontalAlignment="Stretch">...

View Article

Generic WeakEvent Manager & Listener

thought it will be useful,  you can use it like this:   lsnr = new GenericWeakEventListener<MyControl>(Handler); GenericWeakEventManager<MyControl>.AddListener(MyControl.ClickEvent, _mc,...

View Article


Tutorial to create application to query Active Directory

Hi, I am completely new to Visual Studio and WPF and i want to learn a little bit.Is there a detailed tutorial where i can learn how to create a simple application which query Active...

View Article

Creating a dynamically 3D model in XAML

Hello all.<o:p></o:p>I would like to ask some advice about how to create dynamically 3D models using XAML and C#.<o:p></o:p>Basically the program will import two .dxf...

View Article

UserControl with a TextBox inside: how to fire the ErrorTemplate of the...

I created a UserControl wich has a TextBox inside. The value of the "Text" property of che UserControl (bound, of course, with the TextBox) is validated, but when it has errors I see the ErrorTemplate...

View Article
Browsing all 18858 articles
Browse latest View live


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