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

WPF and MVVM with login authentication

Hi, I'm pretty new to WPF and wanted to find out the best way to authenticate an user with the username/password stored in a Sql server database . I'm using MVVM framework and from what I read it was...

View Article


Is there a way to use WPF without XAML

Is there access to all wpf functionality without xaml? If so, can it be removed from view in visual studio? Howard Swope Manager of Engineering TTG Media, NAVTEQ USA [http://www.navteq.com] Home...

View Article


How to set ItemSource of a custom panel

Dear all,I have a class named Circle panel which Inherit from Panel and define as follow: class CirclePanel:Panel { public double OuterRadius { get { return (double)GetValue(OuterRadiusProperty); } set...

View Article

no mouse response on remote desktop connection in a wpf app

I created a basic WPF app with just a tabControl that has some tabs. One of the tabs should host a RDC session so, after searching the net I did the following:Drag and Dropped a WindowsFormHost inside...

View Article

Getting TextInput while also preventing KeyDown and Keyup events from...

I have a custom WPF control that wants to handle both key down and up events as well as text input. For instance, if the user hits Home on the keyboard, I want to handle that in my custom control and...

View Article


how to add a new value to the applicationsettings file?

Heyi wnna add some values to my application Settings file. At moment i can Access the fle and read values with:Properties.Settings settings = newProperties.Settings();but ive no idea how to add a new...

View Article

How to Draw Geometry Data

Goal: What practice is the best choice to use to draw 2D geometry data based on datatype geometry or decimal in a dotnet website or application.Problem: How should I do it? What syntax from dll is the...

View Article

hotel booking system

Hello I am going to develop an online hotel room booking system. And i am not sure wich control should i use to display the booking information to operator, i have googled and  find this . Can some...

View Article


where to place class file in WPF

In asp.net there is an App_Code folder to all the class file.Is there something like that in WPF?

View Article


Login in XBAP

Hello everyone:I would like to know if there is a way to use User and Pass in a XBAP or WPF Browser App.Thank you!

View Article

Image may be NSFW.
Clik here to view.

User Control - best way for custom properties - is this correct?

Hi all, I know you've probably seen this many times before and I apologize but I've been reading around the internet and cannot find one simple solution to this.I'm trying to make a user control that...

View Article

Passing Parameters (URI, MediaElement) To Button Triggers/StoryBoard

Hi.I have XAML code in which a stack panel that contains a media-element and a button is defined. Whenever the button is clicked, some sound is made. Here's the relevant portion:...

View Article

Custom Scrolling In a CustomVrtualizingTreePanel

Hello WPF experts!I am wroking on few custom controls. One of them is a Panel called "CustomVirtualizingTreePanel" another is the "Tree" that is an ItemsControl with its ItemsContainers called...

View Article


How to figure out when control is visible to user?

I would like to know how to figure out when a control is visbile to user and when not? Let says I am writing a custom control which extends a TextBox and I would like to know when is visible to do...

View Article

MVVM data access

Im currently trying to learn MVVM for WPF programs and im confused as to where my IRepository interface and implementations of it should go?  Should they be included in my Models class library project?...

View Article


Presenting a character with image (Mini Game Project)

Hey,I'm working on a project that its actually a game.the game is about one good character that sould kill some bad ones.in that point, I'm having some truble with creating Class of character, and some...

View Article

Artificial inheritance context for 3D list

My goal is to build a list (inherited from "ItemsControl"), which shows its data in 3D (using a proper "Viewport3D" element). The list should be ideally as flexible as an ordinary "ItemsControl".I...

View Article


Viewing different document types?

My client wants to be able to upload .pdf, .doc , .jpg, etc files, and then be able to view them in the software.What would be your suggestion on how to do that? I know how to use the WindowsFormsHost...

View Article

Use Variable in XAML Binding Expression?

Hi, I have a question about binding a WPF control to a variable source.  Presently, my controls are bound to an XML document which looks like this:<data_type Id="conveyor_plc_data"><plc_type...

View Article

move from one tabitem to another in WPF

I have a tab-control with three tab items. each tab item has a datagrid placed on it.and all these three datagrid's on their respective tab items is of Master-Detail-SubDetail form. how to navigate...

View Article
Browsing all 18858 articles
Browse latest View live