Wiley WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4 978-0-470-47722-9 用户手册
产品代码
978-0-470-47722-9
574
Back button – CheckBox
B
Back button, 379, 382
backface removal, in 3D drawing, 391
background color
backface removal, in 3D drawing, 391
background color
with
TabControl
, 111
transparent, 232
Background
property
of
Border
control, 90
of
ComboBox
control, 124
of
Expander
control, 105
Background=”Blue”
property,
127–128
BackgroundWorker
class, 95–97
Band
property, 111–113
BandIndex
property, 111–113
BarChart/Graph programs, 403
BasedOn
attribute, 225
basic animation, 552. See also
animation
BeginStoryboard
element, 236–237
BeginTime
property, 245
BetterLabelTemplate program, 266
Bevel
value, 168–169
BevelBitmapEffect
property,
363–365
binding collections
ListBox/ComboBox
templates,
327–329
overview, 325–327
TreeView
templates, 329–332
binding, command, 348, 352–354
binding components, 519
binding database objects
binding components, 519
binding database objects
binding
Scores
ListBox
, 344
binding student name
ListBox
,
342–343
displaying
Student
details, 343–344
loading data, 339–341
overview, 338–339
saving changes, 341–342
summary, 345
overview, 338–339
saving changes, 341–342
summary, 345
binding master-detail data, 332–333
binding path, 323–325
binding source
binding path, 323–325
binding source
DataContext
, 322–323
defined, 317–318
ElementName
, 319
RelativeSource
, 320–322
Source
, 319–320
binding target, 317–319
binding target property, 317–319
binding, template, 265–266
binding, template, 265–266
BitmapEffect(s)
classes, 533–534
classes and features, 363–365
functions of, 423
property element, 156
summary, 366
with
classes and features, 363–365
functions of, 423
property element, 156
summary, 366
with
Triggers
, 230–231
BlockUIContainer
control, 373
BlurBitmapEffect
property, 363–364
Bold
element, 374–375
inline, 88
inline, 88
Boolean
data types, 254
Border
overview, 425–426
spatial control, 89–90
spatial control, 89–90
BorderBrush/Thickness
properties
of
Border
control, 90
of
Expander
control, 105
of
TabControl
control, 110
BouncingBall(s)
program
Silverlight and, 412–415
Storyboards
and, 257–259
Brush
types
classes, 495–496
DrawingBrush
, 496–498
ImageBrush
, 68–69, 498–499
LinearGradientBrush
, 172–173,
500–501
RadialGradientBrush
, 173–174,
501–502
SolidColorBrush
, 171, 502–503
TileBrush
, 174–178
Viewports/Viewboxes
, 506
VisualBrush
, 503–505
Brushes
drawing, 49–50
FillRule
property, 170
gradient, 44–45
image, 46–49
making, 43–44
overview, 165–166, 170
radial gradient, 68
image, 46–49
making, 43–44
overview, 165–166, 170
radial gradient, 68
SpreadMethod
property, 170–171
summary, 178
tile, 46
transformed gradient, 45
types. See
tile, 46
transformed gradient, 45
types. See
Brush
types
visual, 50–52
BulletDecorator
overview, 426
spatial control function, 91
spatial control function, 91
Button
Command
properties, 350–351
control template, 547–548
controls in SizeInContainers
controls in SizeInContainers
program, 62–63
EllipseButton controls, 277
EllipseButton program, 275–276
EllipseButton
EllipseButton program, 275–276
EllipseButton
Triggers
, 278–280
GlassButton program, 270–271
GlassButton
GlassButton
Styles
, 272–273
GlassButton
Template
overview,
271–272
GlassButton
Triggers
, 274–275
modifying with resources, 213–215
mouse over, 231
non-specific
mouse over, 231
non-specific
TargetTypes
and,
219–220
properties and features of, 120–121
rotation, 237–238
simplifying with
rotation, 237–238
simplifying with
Styles
, 217–218
in SkinInterfaces program, 298–301
in UnnamedStyles program, 222–223
user interaction control, 461–462
in UnnamedStyles program, 222–223
user interaction control, 461–462
ButtonResources program, 195–196,
213–215
ButtonStyles program, 217–218
By
property, of animation, 246
C
C/c
command, 148
cameras, for 3D drawing, 394–395
CameraTypes program, 395
CameraTypes program, 395
CanGoBack
property, 385
CanGoForward
property, 385
CanUndo/CanRedo
properties, 137–138
Canvas
attached properties, 424
BouncingBalls
program and,
412–415
container, 62–64
functions of, 102–103
layout control, 443–444
functions of, 102–103
layout control, 443–444
CentralizedTriggers program, 238–239
Char
data types, 254
charts, 3D, 402–403
CheckBox
control template, 540