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 ArticleIs 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 ArticleHow 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 Articleno 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 ArticleGetting 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 Articlehow 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 ArticleHow 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 Articlehotel 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 Articlewhere 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 ArticleLogin 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 ArticleUser 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 ArticlePassing 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 ArticleCustom 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 ArticleHow 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 ArticleMVVM 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 ArticlePresenting 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 ArticleArtificial 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 ArticleViewing 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 ArticleUse 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 Articlemove 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