Pro WPF in C# 2010 phần 6 ppsx

Pro WPF in C# 2010 phần 6 ppsx

Pro WPF in C# 2010 phần 6 ppsx

... 18 includes a sample color picker that runs into this problem and uses a combination of template bindings and regular bindings. ■ Note Template bindings support the WPF change-monitoring infrastructure ... selection in a text box or key handling in a button). And even once the custom controls were perfected, inserting them into an existing application involved a fairly significant r...

Ngày tải lên: 06/08/2014, 09:20

107 796 0
Pro WPF in C# 2010 phần 1 pps

Pro WPF in C# 2010 phần 1 pps

... Binding 249 Binding Elements Together 249 The Binding Expression 250 Binding Errors 251 Binding Modes 251 Creating Bindings with Code 254 Multiple Bindings 255 Binding Updates 259 Binding ... Notification 60 7 Binding to a Collection of Objects 60 9 Displaying and Editing Collection Items 61 0 Inserting and Removing Collection Items 61 4 Binding to the ADO.NET Objects 61 5...

Ngày tải lên: 06/08/2014, 09:20

90 832 0
Pro WPF in C# 2010 phần 2 doc

Pro WPF in C# 2010 phần 2 doc

... StackPanel.Margin.Bottom StackPanel.Margin.Right Button2.Margin.Right Button2.Margin.Top Button1.Margin.Bottom Button1.Margin.Top Window Button2 Button1 StackPanel.Margin.Left F Figure 3 -6. How margins are combined Minimum, Maximum, and Explicit Sizes Finally, every element includes Height and Width properties ... most interesting surprises. In the next chapter, you’ll consider how c...

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

... TextBlock also supports wrapping through its TextWrapping property. Figure 6- 5. Shortcuts in a label CHAPTER 6 ■ CONTROLS 164 ■ Note The Control class doesn’t define any properties that use ... 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 i...

Ngày tải lên: 06/08/2014, 09:20

106 1,2K 0
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 5 docx

Pro WPF in C# 2010 phần 5 docx

... DoubleAnimationUsingPath Int16Animation Int16AnimationUsingKeyFrames Int32Animation Int32AnimationUsingKeyFrames Int64Animation Int64AnimationUsingKeyFrames MatrixAnimationUsingKeyFrames MatrixAnimationUsingPath ... 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)...

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 ... then shows the corresponding product in the Grid in the lower portion of the window. Figure 19-2. Querying a product CHAPTER 19 ■ DATA BINDING 62 5 { if (propertyName...

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

... 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 class, which ... at a 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-...

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

... NAVIGATION 8 36 To get a better understanding of innerText, innertHTML, and outerHTML, consider the following tag: <p>Here is some <i>interesting</i> text.</p> The innerText ... Here is some interesting text. The innerHTML is: Here is some <i>interesting</i> text. Finally, the outerHTML is the full tag: <p>Here is some <i>interestin...

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
w