static variables and introductory dependency properties
So I just came upon the following statement:public class MyClass:DependencyObject { public static readonly DependencyProperty MyDPProperty = DependencyProperty.Register(...
View ArticleIs the SplitView broken in Windows 10 Build 10.0.10547?
Hi! Today I decided to pick up some UWP app development. To get started, I created a simple design that implements the all-new SplitView-Control.So I started coding something little: I created a...
View ArticleCan a WinForm application be started from a WPF application or vice versa?
I have one WinForm application that runs fine (now) but most of the others on the project we wish to use WPF instead.Can a button on a WinForm activate a published WPF application (the whole solution...
View ArticleList Custom MarkerStyle
Hi All, Is there way to create a custom marker style for WPF List ? Specifically, to make a list the look this (a) item 1(b) item 2(c) item 3 ThanksNeelima
View ArticleWPF-Designer-friendly custom canvas
I created a class that inherits Canvas, and overriden ArrangeOverride() to position elements based on some new attached properties in addition to Canvas.Left and Canvas.TopHowever, when I drag child...
View ArticleSET BINDING WITH PASSWORDBOX FOR VALIDATION IN WPF
HII,I WANT TO SET BINDING WITH PASSWORDBOX FOR MAXIMUM LENGTH VALIDATIONXAML:<PasswordBox x:Name="Pwd" HorizontalAlignment="Left" Style="{StaticResource VallidationTemplate}"...
View ArticleNeed help making a dynamic control
Hello All, I am working on a project and need some help with bindings... I have a list of products, that can belong to a distribution center. I would like to create a dynamic form, ie, one that can...
View ArticleHow can I show a wpf control over a WPF Browser Control
Hi,Can you please advise how to show a wpf control over a WPF Browser Control. I could see an option will be to use WPF PopUps. Is there any other solution for this. Also can you please advise any...
View Article.NET 3.0 WPF Error: CriticalFromVisual() Value cannot be null Parameter name: v
We have an application that is mixed .NET winforms and WPF. It's a classic tabbed app with the workflow progressing as the user moved through the tabs. One of the tabs is hosting WFP controls,...
View Articledoes not exist in the namespace
I have the following code in App.xaml:<Application x:Class="eesPhotography.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View ArticleSize of the window and advantages of .xaml page
Hi, I putd:DesignHeight="450" d:DesignWidth="600" on .xaml page, but the enhanced size is not revealed properly below why? can I say that the advantages of .xaml page vs .aspx page, are that we can...
View ArticleWriteableBitmap WritePixels not updating
I am attempting to stream a series of images that I receive over the network from another computer and display them in a simple WPF application using WriteableBitmap. I'm basically ripping off of the...
View ArticleTouch App goes unresponsive
Hi,Recently I have developed a touch app.Evertything works fine.But after some time (say 5 mins), when there is no input from user, there the thing come. It is not responding to any of the user...
View ArticleMatrixTransformations' Matrix value from the Given Mouse Coordinates
Hi,I am developing the "touch application", where the user can drag and drop from the tool box and after dropping, they can move it around the canvas. (like moving from one position to another position...
View ArticleComboBox inside SurfaceScrollViewer is not working.
As combobox is not a surface control, if I put combobox inside surfacescrollviewer behavior looks strange. It cannot open by touch, only by mouse. I created style for combobox with surfacetoggle...
View ArticlePlacing .fbx 3D Scenes in XAML
I see no way to insert my .fbx 3D Scene into my XAML Window. I try dragging it in, and it gives the "No" symbol.Do I need to do something with the scene? Do I need to create a Viewport3D?
View ArticleWPF long time running application shows black screen after some hours
Hello All, I am developing one rich GUI WPF application, I had installed it on differnet OS (Windows 7-8 , 32 and 64 Bits), Its working fine for some hours. But getting problem on windows 7...
View ArticleWPF mediaElement disappearing after some time
I have a user control with a WPF MediaElement and an Image control. This user control is again used in a few more user control which uses this in two differnt layouts. The application is supposed to...
View ArticleChanging PrintCapabilities paper size or define a new one inside a PrintTicket
I'm trying to create a C# .NET WPF application that will be used for printing purposes. The program targets a continous label printer. The printer driver contains informations about the selected media...
View ArticleHow to use both Global.System.Windows.Markup.MarkupExtension and Dependency...
I am trying to create an AttachedProperty that will take parameters as follows:AP:APDragDropCursor.DragDropCursor="{AP:CursorInfo}"Now that is not difficult but I also want to be able to pass...
View Article