Datasheet

575
Checked event – content controls
properties and features of, 121–122
user interaction control, 462463
Checked event, 122
child controls
Button, 121
Canvas, 102–103
DockPanel, 103104
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, 243244
binding to, 520–521
BitmapEffect. See
BitmapEffect(s)
Brush. See Brushes
command. See command classes
to dene objects in XAML, 326
ImageBrush. See ImageBrush class
Setter element, 215217, 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,
259261
building FixedDocuments in,
370371
collections in, 522523
commands in, 532
for complex 3D scenes. See complex
3D scenes
dened, 179
events and. See events and
code-behind
in Expression Blend, 58
separate from UI, 17
Silverlight and, 412415
for WPF in Visual Studio, 31
code-generated output, 309312
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, 325327
TreeView templates, 329332
collections, in XAML code/code-
behind, 522–523
color
changing with ListBox control, 129
properties, 6667
selection, with Silverlight, 408412
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, 376378
with UniformGrid control, 113–114
with WrapPanel control, 117
with XAML Editor, 27
ColumnWidths program, 321–322
CombinedTransformations
program, 361
ComboBox control
overview, 463464
properties and features of, 122–124
templates, for data binding,
327–329, 523
command binding
dened, 348
in DocumentCommands program,
352354
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, 355357
commanding
concepts, 348–349
overview, 347–348
Command(s)
custom, 355358
defined, 348–349
Path mini-language, 148–149
predened with actions, 349352
predened without actions, 352354
RichTextBox control editing,
135–137
summary, 358
CommandTarget properties, 351–352
common properties
BitmapEffect, 423
Canvas attached, 424
color, 6667
DockPanel attached, 423424
drawing, 422
font, 6566, 421–422
general, 417421
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, 402403
generated textures, 404
geometric shapes, 400402
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, 8990, 425426
BulletDecorator, 91, 426
dened/categories, 73
DocumentViewer, 426427
FlowDocument. See FlowDocuments