Datasheet
575
Checked event – content controls
properties and features of, 121–122
user interaction control, 462–463
Checked event, 122
child controls
Button, 121
Canvas, 102–103
DockPanel, 103–104
Expander, 105
Grid, 105–107
ListBox, 129
ScrollViewer, 107–108
StackPanel, 108–109
StatusBar, 109
TabControl, 110–111
UniformGrid, 113 –114
Viewbox, 114–115
WrapPanel, 117
child Style, 225
classes
animation, 243–244
binding to, 520–521
BitmapEffect. See
BitmapEffect(s)
Brush. See Brushes
command. See command classes
to define objects in XAML, 326
ImageBrush. See ImageBrush class
Setter element, 215–217, 222
Click events
for event name attributes. See event
name attributes
Relaxed Delegates and, 186–189
with RepeatButton control,
134–135
in SkinInterfaces program, 298–301
Clutter program, 2
code-behind
animation without Storyboards,
259–261
building FixedDocuments in,
370–371
collections in, 522–523
commands in, 532
for complex 3D scenes. See complex
3D scenes
defined, 179
events and. See events and
code-behind
in Expression Blend, 58
separate from UI, 17
Silverlight and, 412–415
for WPF in Visual Studio, 31
code-generated output, 309–312
code reuse
abuse of, 194
resources and. See resources
code(s)
colorized in XAML Editor, 27
example, 181
simplifying with Styles, 218
collections, data binding
ListBox/ComboBox templates,
327–329
overview, 325–327
TreeView templates, 329–332
collections, in XAML code/code-
behind, 522–523
color
changing with ListBox control, 129
properties, 66–67
selection, with Silverlight, 408–412
Stroke property and, 166–167
colorized code, in XAML Editor, 27
ColorList program, 324–325
column properties
with Grid control, 105–107
with Gridsplitter control,
127–128
with StackPanel control, 108–109
with Table control, 376–378
with UniformGrid control, 113–114
with WrapPanel control, 117
with XAML Editor, 27
ColumnWidths program, 321–322
CombinedTransformations
program, 361
ComboBox control
overview, 463–464
properties and features of, 122–124
templates, for data binding,
327–329, 523
command binding
defined, 348
in DocumentCommands program,
352–354
command classes
ApplicationCommands, 525–526
in code-behind, 532
ComponentCommands, 526–527
EditingCommands, 527–529
MediaCommands, 530
NavigationCommands, 531
in XAML, 531–532
command source, 348
command target, 348
CommandImageInvert, 355–357
commanding
concepts, 348–349
overview, 347–348
Command(s)
custom, 355–358
defined, 348–349
Path mini-language, 148–149
predefined with actions, 349–352
predefined without actions, 352–354
RichTextBox control editing,
135–137
summary, 358
CommandTarget properties, 351–352
common properties
BitmapEffect, 423
Canvas attached, 424
color, 66–67
DockPanel attached, 423–424
drawing, 422
font, 65–66, 421–422
general, 417–421
Grid attached, 423
image shape, 67–69
miscellaneous, 69–71
overview, 61
size and position. See size/position
properties
summary, 71
complex 3D scenes
charts and graphs, 402–403
generated textures, 404
geometric shapes, 400–402
overview, 400
surfaces, 405
ComplexBrush program, 155
ComponentCommands class, 526–527
container control
deleting drawings, 50
transformations and, 362
for WPF in Visual Studio, 23–25
container inheritance, 224
content controls
binding, 325
Border, 89–90, 425–426
BulletDecorator, 91, 426
defined/categories, 73
DocumentViewer, 426–427
FlowDocument. See FlowDocuments