|
|
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
18 Articles match "Class","WPF"
|
Related DevelopMentor Courses
|
MORE
|
|
Essential LINQ with the Entity Framework
Apply techniques for building real-world data-driven applications, including ASP.NET and WPF data binding. is Language Integrated Query (LINQ), making query a first-class feature of the programming language. This allows you to derive a class from multiple source tables and to represent object inheritance based on different table mappings. WPF Data Binding.NET 3.0 In this course, you learn to: Leverage new features of C# 3.0, Learn to combine flavors of LINQ to query and transform in-memory collections, XML data sources, and relational databases. Appendices ASP.NET 3.5
DevelopMentor Courses
- Friday, June 12, 2009
Exploring.NET 3.5: WPF/SL, WCF, WF, LINQ Training
Windows Presentation Foundation (WPF) and Silverlight 3 (SL), Windows Communication Foundation (WCF), and Windows Workflow (WF). How is WPF different from Windows Forms? and Language-Integrated Query (LINQ), Windows Presentation Foundation (WPF), Silverlight 3 (SL), and Windows Communication Foundation (WCF). now includes Language Integrated Query (LINQ), making query a first-class feature of the C# programming language. Introduction to WPF: Part 1 (Architecture, XAML) WPF is the GUI technology of the future. Exploring.NET 3.5 LINQ to Objects.NET 3.5
DevelopMentor Courses
- Thursday, June 3, 2010
Exploring.NET 3.5: WPF/SL, WCF, WF, LINQ Training
Windows Presentation Foundation (WPF) and Silverlight 3 (SL), Windows Communication Foundation (WCF), and Windows Workflow (WF). How is WPF different from Windows Forms? and Language-Integrated Query (LINQ), Windows Presentation Foundation (WPF), Silverlight 3 (SL), and Windows Communication Foundation (WCF). now includes Language Integrated Query (LINQ), making query a first-class feature of the C# programming language. Introduction to WPF: Part 1 (Architecture, XAML) WPF is the GUI technology of the future. Exploring.NET 3.5 LINQ to Objects.NET 3.5
DevelopMentor Courses
- Wednesday, June 2, 2010
|
56 Articles match "Class","WPF"
|
The Latest from DevelopMentor
|
MORE
|
|
Removing the Close Button on a WPF window
Of course, I’m using WPF to show the simulator – and I wanted to create a topmost window that did not have a Close button on it. However, with a little Win32 mojo we can get the desired effect: public partial class MainWindow. {. Tags: NET Code WPF Today I was building a simple simulator to test some events to a new piece of hardware I’m working on. Imagine my surprise when I realized there was not a set of flags you could supply to the Window object to actually achieve this result! public MainWindow(). {. void MainWindow_SourceInitialized(object sender, EventArgs e). {.
Mark's Blog of Random Thoughts
- Monday, March 22, 2010
NativeActivity – A Tricky Beast
At this point you have to fall back to writing code and there are three options for your base class when writing an activity in code: CodeActivity. talked about is a while back here when the PDC CTP first came out (that’s what the reference to some base class called WorkflowElement is about) but to expand a little: The Activity is really just a template containing the code to execute for the activity. If you are using a CodeActivity base class then most of this is hidden from you except that you have to access arguments by passing in the ExecutionContext. AsyncCodeActivity.
.NET Meanderings
- Tuesday, February 9, 2010
MVVM: IUIVisualizer and event management with behaviors
Next, it adds the file selector service by calling ServiceProvider.Add on the ViewModel class. The type must be a WPF Window-derived type (i.e. This is done a little differently if you’ve not done much WPF work. WPF allows us to customize the visuals however we like, so here the panel has been replaced with a Canvas (allowing pixel positioning), and each item is drawn as a DataTemplate. do this by adding an attached property onto the behavior class and then injecting my behavior into the element where the attached property is set. Tags: NET MVVM WPF
Mark's Blog of Random Thoughts
- Friday, February 5, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
WPF MVVM Helper Library (WPF + MVVM = testability)
There's been a lot of talk about the Model-View-ViewModel pattern recently and it's usage around the WPF and Silverlight technology stack. When teaching WPF, I always introduce students to MVVM as part of the Essential WPF class, it's an incredibly useful pattern that really separates the UI from the code behind behavior. bit of history -- the library is really just a place where I dump all kinds of useful utility classes, helpers, wrappers, etc. lt; Window x : Class ="TestMvvm.MainWindow". Tags: NET WPF that I tend to use a lot. file -.
-
Part 2: Changing WPF focus in code
In the last post , I wrote about how focus is generally managed in WPF - we have focus scopes to track a single element within that scope for logical focus, and then one of those elements is given physical, or keyboard focus. First, there is a Keyboard class in WPF which exposes several methods and properties. This is controlled through the KeyboardNavigation class which is used when the user presses a key that changes focus (TAB, SHIFT+TAB, Up, Down, etc.). However, a popular way to develop WPF applications is to separate out chunks of UI into separate UserControls.
Mark's Blog of Random Thoughts
- Thursday, September 4, 2008
-
WPF Data Providers
One of the nifty new features of the WPF platform is the pluggable data providers. Both of these derive from the abstract class System.Data.DataSourceProvider which implements the binding glue ( INotifyPropertyChanged ) needed for data binding. Another interesting thing about this class is that we can define the XML data inline within the XAML document. Data binding in WPF is extremely powerful -- I am constantly amazed at how much procedural code you can dump in favor of markup with creative bindings. Tags: NET;Code;WPF State, Age, Income. xmlns = " [link] ".
Mark's Blog of Random Thoughts
- Wednesday, January 17, 2007
-
(Possibly) better validations in WPF
I've never cared much for the built-in validation mechanisms provided by WPF. just don't think any of them feel natural to the way we build WPF applications today. Basically, there are essentially three mechanisms built into WPF for validations: Validation Rules. Finally, IDataErrorInfo was added with WPF 3.5 Often, you will use one or several of these validation techniques in your WPF application to check the input. It piggy-backs onto the IDataErrorInfo interface, but delegates off to a helper class which looks for attributes applied to the properties.
-
Using Model – View – ViewModel with Silverlight
have found it extremely easy to use when developing very different applications and have used the design pattern recently in both ASP.NET, WPF and Silverlight applications. Josh Smith did an excellent screen cast for Pixel8 on using MVVM with WPF, you can find it here. The ViewModel is just another class. 5: public class Customer : INotifyPropertyChanged. 6: public partial class CustomerView : UserControl. The ViewModel class is the one that glues the View and the Model together, hence its name. Tags: NET DevCenter WPF Silverlight 11: {. 13: set.
The Problem Solver
- Tuesday, April 7, 2009
-
Playing with WPF Behaviors - a WatermarkText behavior
This new feature formalizes the "attached behavior" model that has become so prevelant in WPF (and Silverlight) development. This can be UIElement for anything WPF, or more restrictive if necessary based on the events you intend to hook up. class WatermarkTextBehavior : Behavior >. These should be done in the form of Dependency Properties so they are bindable and interact nicely with WPF. Tags: NET Code WPF One of the coolest new features of Blend 3 is the inclusion of behaviors. For our purposes here, we will set the restricted type to TextBox. public.
-
Using MVVM with Menus in WPF
Here's one I've used: public class MenuItem. {. Tags: NET WPF One question I've fielded a couple of times is how to manage menus, primarily context menus, with the MVVM pattern. It turns out to be pretty easy once you know the "trick". The key thing to keep in mind is that menus are just ItemsControls - they support data templating and binding like any other ItemsControl. However, the part where people get lost is in hooking up the commands. Here's the trick: Step 1: Define some code behind construct to manage each menu item in a hiearchial fashion. public List. MenuOptions. {.
|
|
|