Pro WPF in C# 2010 phần 4 pps

Pro WPF in C# 2010 phần 4 pps

Pro WPF in C# 2010 phần 4 pps

... <Window.CommandBindings> <CommandBinding Command="ApplicationCommands.New" Executed="NewCommand_Executed"></CommandBinding> </Window.CommandBindings> ... support for defining command bindings. It also provides relatively feeble support for connecting controls and commands. You can set the Command property of a control using the Properties wi...
Ngày tải lên : 06/08/2014, 09:20
  • 109
  • 578
  • 0
Pro WPF in C# 2010 phần 1 pps

Pro WPF in C# 2010 phần 1 pps

... Translation Process 242 The Last Word 248 ■Chapter 8: Element Binding 249 Binding Elements Together 249 The Binding Expression 250 Binding Errors 251 Binding Modes 251 Creating Bindings with ... States 540 The Last Word 541 ■Chapter 18: Custom Elements 543 Understanding Custom Elements in WPF 544 Building a Basic User Control 547 Defining Dependency Properties 548 Definin...
Ngày tải lên : 06/08/2014, 09:20
  • 90
  • 832
  • 0
Pro WPF in C# 2010 phần 6 ppsx

Pro WPF in C# 2010 phần 6 ppsx

... template bindings won’t work, you can use a full-fledged data binding instead. Chapter 18 includes a sample color picker that runs into this problem and uses a combination of template bindings and ... and regular bindings. ■ Note Template bindings support the WPF change-monitoring infrastructure that’s built into all dependency properties. That means that if you modify a property in a...
Ngày tải lên : 06/08/2014, 09:20
  • 107
  • 796
  • 0
Pro WPF in C# 2010 phần 2 doc

Pro WPF in C# 2010 phần 2 doc

... you can often avoid this situation by setting a minimum window size. ■ Note Layout containers don’t provide any scrolling support. Instead, scrolling is provided by a specialized content control—the ... most interesting surprises. In the next chapter, you’ll consider how controls are organized into realistic windows using the WPF layout panels. CHAPTER 3 ■ LAYOUT 79 Nesting Layo...
Ngày tải lên : 06/08/2014, 09:20
  • 105
  • 595
  • 0
Pro WPF in C# 2010 phần 3 doc

Pro WPF in C# 2010 phần 3 doc

... directly. Instead, you simply set the ToolTip property of your element. The ToolTip property is defined in the FrameworkElement class, so it’s available on anything you’ll place in a WPF window. ... data binding. This is true even if you aren’t fetching your data from a database or an external data source. WPF data binding is general enough to work with data in a variety of form...
Ngày tải lên : 06/08/2014, 09:20
  • 106
  • 1.2K
  • 0
Pro WPF in C# 2010 phần 5 docx

Pro WPF in C# 2010 phần 5 docx

... BASICS 42 8 DoubleAnimationUsingPath Int16Animation Int16AnimationUsingKeyFrames Int32Animation Int32AnimationUsingKeyFrames Int64Animation Int64AnimationUsingKeyFrames MatrixAnimationUsingKeyFrames ... 3); dc.DrawLine(drawingPen, new Point(0, 50), new Point(50, 0)); dc.DrawLine(drawingPen, new Point(50, 0), new Point(100, 50)); dc.DrawLine(drawingPen, new Point(0, 50), new Point...
Ngày tải lên : 06/08/2014, 09:20
  • 109
  • 618
  • 0
Pro WPF in C# 2010 phần 7 pptx

Pro WPF in C# 2010 phần 7 pptx

... default filtering settings in the DataView hide all deleted records. You’ll learn more about filtering in Chapter 21. Binding to a LINQ Expression WPF supports Language Integrated Query (LINQ), which ... string to perform the reverse conversion, taking any edited data and using it to update the bound property. When setting the Binding.StringFormat property, you use standard .NET for...
Ngày tải lên : 06/08/2014, 09:20
  • 107
  • 511
  • 0
Pro WPF in C# 2010 phần 8 pdf

Pro WPF in C# 2010 phần 8 pdf

... higher level. In the approach shown in Figure 23-3, the acting window doesn’t need to know anything specific about the controls in the receiving window. The approach in Figure 23 -4 goes one step ... access to other windows: the MainWindow and Windows properties. If you want to track windows in a more customized way—for example, by keeping track of instances of a certain window...
Ngày tải lên : 06/08/2014, 09:20
  • 118
  • 1.1K
  • 0
Pro WPF in C# 2010 phần 9 doc

Pro WPF in C# 2010 phần 9 doc

... MediaElement.Clock property). You can use a single Storyboard to control the playback of a single MediaElement in other words, not only stopping it but also pausing, resuming, and stopping it at will. ... modify, remove, or insert elements as you go, using a programming model that’s similar to the HTML DOM used in web browser scripting languages like JavaScript. In the following sec...
Ngày tải lên : 06/08/2014, 09:20
  • 150
  • 607
  • 0
Pro WPF in C# 2010 phần 10 potx

Pro WPF in C# 2010 phần 10 potx

... = minRow + rowsPerPage; CHAPTER 29  PRINTING 1017 Printing Directly to the Printer via XPS As you’ve learned in this chapter, the printing support in WPF is built on the XPS print ... required Windows Forms assemblies, including System.Windows.Forms.dll and System.Drawing.dll. You can design a form in a WPF project in the same way that you design it in a Windows F...
Ngày tải lên : 06/08/2014, 09:20
  • 200
  • 535
  • 0