15_041802 bindex.qxp4/2/075:24PMPage429 AllowPartiallyTrustedCallersAttribute Alignment 320 Advanced SecuritySettingsdialogbox, AdornerLayer 301 Administrator account, AddService Address.xaml.cs AddressTaskController AddressInfo AddressData.cs AddressData Address AddChild 406 Reference, Add Service 91 Add New Itemdialogbox, ControlPanel, Add andRemove Programsdialogbox, 278–286 269, adaptive topology, 306 AD (ActiveDirectory), 423 Activity Library, activities ActiveX 306 (AD), Active Directory Activated A While SequentialWorkflowActivity Sequence ifElse DisplayProduct Code 344–345 in XAML, 339 overview, 340–344 example, ATA trbt,314 (APTCA) attribute, 291 ciiy 2,423 420, activity, ciiy 2,422 420, activity, aefnto,25 266 265, page function, adding controls, ciiy 2,422 420, activity, ehd 364 method, rpry 99 property, 35 33, event, ciiy 420 activity, ehd 413 method, ls,23 265 263, class, bet 266 object, oto,9 control, ie 262 file, ie 275 file, COPYRIGHTED 420 activity, MATERIAL ls,267 class, ls,416 class, lh hne,160 alpha channel, apiainetnin 296 .application extension, Application 97 96, Appearance panel, AppDomain App.config 242 App_Code directory, AnimationDurationProperty Animation_Completed Animation API. animation AnimateFill( ) 188 Angle slider, Angle rgamtcaiain 139–143 programmatic animation, 135–138 creating dynamicanimationwithcode, 135 animation classes, 107–108 triggers, 104–105 Timeline sub-panel, templates 111–112 styles, 112–113 states, 139–143 programmatic animation, 106 of object’s property, 106–107 motion paths, 105–106 keyframes, 113 audio/videomedia, importing 135–138 creating procedurallywithcode, creating controls 135 animation classes, dtn,110 editing, 111 common elements, 110 styling, 108–109 overview, 110 editing, 109–110 control inheritance, rpry 186 property, 0,306 303, , ie 69 file, ls,24 363–364 254, class, See also ehd 5,152 151, method, animation ehd 0,202 200, method, rpry 200 property, Index

Index 15_041802 bindex.qxp 4/2/07 5:24 PM Page 430

application models

application models asynchronous threading browser-based applications BackgroundWorker object, 395–397 overview, 238 overview, 393–395 standalone or “loose” XAML, 239 attached property, 363 XAML browser applications, 239–246 attributes security considerations, 247–248 AllowPartiallyTrustedCallersAttribute standalone applications (APTCA) attribute, 314 overview, 235–236 BasedOn attribute, 225 windows, 236–237 Binding attribute, 56 windows navigation, 237–238 BorderBrush attribute, 219 Application object CanResize attribute, Window class, 288 obtaining reference to, 31 Category attribute, 290 overview, 30–31, 248–250 Click attribute, 381 sharing information, 31–32 ContentRendered attribute, 36 application trust, 323 declarative attributes, 73 element, 223 FontSize attribute, 223 ApplicationCommands class, 47, 49, 50 Ignore attribute, 290 Application.Exit event, 253 Inherit attribute, 290 ApplicationIdle message priority, 390 ItemTemplate attribute, 220 Application.OnExit event handler, 251 Localization.Comments attribute, 291 applications Modifiable attribute, 290 building, 292–293 NeverLocalize attribute, 290 creating sample, 27–29 None attribute, 290 enterprise application development [OperationContract] attribute, 401, 404 application localization, 286–291 Readable attribute, 290 application models, 234–248 ResizeMode attribute, 288 deployment models, 291–298 [SecurityCritical] attribute, 311 navigation, 258–286 SecurityCriticalAttribute attribute, 312 overview, 233–234 [ServiceContract] attribute, 401, 404 state management, 248–257 SizeToContent attribute, 288 express, 300 [STAThread] attribute, 389 .NET Framework 3.0 runtime, 296–298 Style attribute, 46, 223 required installations for creating, 26 SuppressUnmanagedCodeAttribute attribute, 312 single-threaded, 388–393 System.Security.SecurityCritical standalone windows applications, 236–237, 294–295 Attribute attribute, 311 trusted, 300 System.Security.SecurityTransparent types of, 26–27 Attribute attribute, 311 using WPF in Win32 applications, 335–337 TargetType attribute, 14, 223 XAML browser applications, 239–246, 295–296 Value attribute, 227 Application.Startup event, 251, 253 WidthAndHeight attribute, 288 Apply Resource command, Style context menu, 112 XAML namespace attribute, 379 App.Manifest file, 66 x:Class attribute AppState class, 249, 253 child elements, 384 App.xaml file, 223 CLR properties, 384 APTCA (AllowPartiallyTrustedCallers namespaces, 383 Attribute) attribute, 314 overview, 383 arc segment, 210 XAML attributes, 384–385 ArcSegment class, 208–217 x:Key attribute, 14, 223, 224 artboard, 87–88 xmlns attribute, 30, 221, 344 Artboard panel, Expression Blend interface, 116, x:TypeArguments attribute, 259, 265 135 x:TypeAttribute attribute, 266 .asmx web service, 241 audio/video media, importing, 113 ASP.NET, 239 authentication mechanism, of XBAP, 241 AssemblyInfo.cs file, 66–67 AuthenticationService directory, 246 AsyncCallback argument, 395 automatic layout, 287

430 15_041802 bindex.qxp 4/2/07 5:24 PM Page 431

change notification system Index AutoReverse property, 193 bubbling events, 39, 47 AxShockwaveFlashObjects namespace, 344 Build Action property, 197 AxShockwaveObjects namespace, 340 BuildWindowCore method, 332, 333 BulletPanel element, layout panels, 103 business processes, 409–410 B Button control, 14, 37, 366, 372 Background message priority, 390 button controls Background property, 166, 201 creating, 112–113 BackgroundWorker object, 395–397 styling, 112–113 BAML file, 374