【お知らせ】プログラミング記事の投稿はQiitaに移行しました。

Silverlight 3の追加点

Silverlight 3がリリースされました。標準的に使う以下のライブラリを調査しました。

  • mscorlib.dll
  • System.dll
  • System.Core.dll
  • System.Net.dll
  • System.Windows.dll
  • System.Windows.Browser.dll
  • System.Xml.dll

Silverlight 2と比較して、100個のpublicなクラスが追加されています。既存の45個のクラスに113個のpublicなイベント・プロパティ・メソッドが追加されています。内訳は以下の通りです。

追加されたクラス

名前空間 クラス
System.Collections.ObjectModel ReadOnlyObservableCollection
System.ComponentModel CancelEventArgs CurrentChangingEventArgs CurrentChangingEventHandler GroupDescription ReadOnlyAttribute SortDescription SortDescriptionCollection
System.Net Cookie CookieCollection CookieContainer CookieException NetworkCredential
System.Net.Browser WebRequestCreator
System.Net.NetworkInformation NetworkAddressChangedEventHandler NetworkChange NetworkInterface
System.Runtime.Serialization OnDeserializedAttribute OnDeserializingAttribute OnSerializedAttribute OnSerializingAttribute StreamingContext
System.Windows Analytics ApplicationServiceContext CheckAndDownloadUpdateCompletedEventArgs CheckAndDownloadUpdateCompletedEventHandler ExtensionPart ExternalPart ExternalPartCollection GpuInformation Icon IconCollection OutOfBrowserSettings SystemColors WindowSettings
System.Windows.Controls CleanUpVirtualizedItemEventArgs CleanUpVirtualizedItemEventHandler ItemContainerGenerator SaveFileDialog Validation VirtualizingPanel VirtualizingStackPanel
System.Windows.Controls.Primitives GeneratorPosition ItemsChangedEventArgs ItemsChangedEventHandler
System.Windows.Data BindingBase BindingExpression BindingOperations CollectionViewSource FilterEventArgs FilterEventHandler RelativeSource
System.Windows.Input MouseWheelEventArgs MouseWheelEventHandler Touch TouchDevice TouchFrameEventArgs TouchFrameEventHandler TouchPoint TouchPointCollection
System.Windows.Interop NavigationStateChangedEventArgs
System.Windows.Media BitmapCache CacheMode ImageSourceConverter ImplicitInputBrush LogReadyRoutedEventArgs LogReadyRoutedEventHandler Matrix3DProjection PlaneProjection Projection TextOptions
System.Windows.Media.Animation BackEase BounceEase CircleEase CubicEase EasingColorKeyFrame EasingDoubleKeyFrame EasingFunctionBase EasingPointKeyFrame ElasticEase ExponentialEase PowerEase QuadraticEase QuarticEase QuinticEase SineEase
System.Windows.Media.Effects BlurEffect DropShadowEffect Effect PixelShader ShaderEffect
System.Windows.Media.Imaging BitmapSource WriteableBitmap
System.Windows.Media.Media3D Matrix3D
System.Windows.Messaging ListenFailedException LocalMessageReceiver LocalMessageSender MessageReceivedEventArgs SendCompletedEventArgs SendFailedException

追加されたイベント・プロパティ・メソッド

クラス イベント・プロパティ・メソッド
System.Environment FailFast
System.ComponentModel.DesignerProperties IsInDesignTool
System.Net.HttpWebRequest CookieContainer
System.Net.HttpWebResponse Cookies
System.Net.WebClient Credentials ResponseHeaders
System.Net.WebRequest CreatorInstance Credentials
System.Net.WebResponse Headers
System.Net.Sockets.SocketAsyncEventArgs ConnectByNameError
System.Threading.ThreadPool UnsafeQueueNativeOverlapped
System.Windows.Application ApplicationLifetimeObjects CheckAndDownloadUpdateAsync CheckAndDownloadUpdateCompleted Install InstallState InstallStateChanged IsRunningOutOfBrowser
System.Windows.DependencyProperty GetMetadata
System.Windows.Deployment ExternalParts GetAppIdForUri OutOfBrowserSettings
System.Windows.FrameworkElement GetBindingExpression
System.Windows.PropertyMetadata DefaultValue
System.Windows.ResourceDictionary CopyTo GetEnumerator IsFixedSize Keys MergedDictionaries Source Values
System.Windows.Style BasedOn
System.Windows.UIElement AddHandler CacheMode Effect MouseWheel Projection RemoveHandler
System.Windows.VisualTransition GeneratedEasingFunction
System.Windows.Automation.Peers.ItemAutomationPeer GetPattern
System.Windows.Controls.Image ImageOpened
System.Windows.Controls.ItemsControl GetItemsOwner ItemContainerGenerator ItemsControlFromItemContainer
System.Windows.Controls.ListBox SelectedItems SelectionMode
System.Windows.Controls.MediaElement LogReady RequestLog
System.Windows.Controls.MultiScaleImage AllowDownloading BlurFactor IsDownloading IsIdle
System.Windows.Controls.Panel IsItemsHost
System.Windows.Controls.PasswordBox CaretBrush
System.Windows.Controls.ScrollContentPresenter LineDown LineLeft LineRight LineUp MakeVisible MouseWheelDown MouseWheelLeft MouseWheelRight MouseWheelUp OnApplyTemplate PageDown PageLeft PageRight PageUp
System.Windows.Controls.TextBox CaretBrush
System.Windows.Controls.ToolTip Placement PlacementTarget
System.Windows.Controls.ToolTipService GetPlacement GetPlacementTarget SetPlacement SetPlacementTarget
System.Windows.Controls.ValidationError ErrorContent
System.Windows.Controls.Primitives.Selector IsSynchronizedWithCurrentItem OnApplyTemplate
System.Windows.Data.Binding BindsDirectlyToSource ElementName RelativeSource UpdateSourceTrigger
System.Windows.Input.StylusDevice DeviceType
System.Windows.Interop.Content Zoomed ZoomFactor
System.Windows.Interop.Settings EnableAutoZoom EnableCacheVisualization EnableGPUAcceleration
System.Windows.Interop.SilverlightHost InitParams NavigationState NavigationStateChanged
System.Windows.Media.GeneralTransform Inverse TransformBounds TryTransform
System.Windows.Media.ImageBrush ImageOpened
System.Windows.Media.Transform Inverse TransformBounds TryTransform
System.Windows.Media.Animation.ColorAnimation EasingFunction
System.Windows.Media.Animation.DoubleAnimation EasingFunction
System.Windows.Media.Animation.PointAnimation EasingFunction
System.Windows.Media.Imaging.BitmapImage CreateOptions ImageFailed ImageOpened
System.Xml.XmlConvert IsNCNameChar IsPublicIdChar IsStartNCNameChar IsWhitespaceChar IsXmlChar IsXmlSurrogatePair VerifyPublicId VerifyWhitespace VerifyXmlChars

その他

個人的に注目しているのは以下のクラスです。

  • System.Windows.Controls.SaveFileDialog
  • System.Windows.Input.MouseWheelEventArgs
  • System.Windows.Media.Imaging.WriteableBitmap

気付いた点です。

  • TextBox.IsReadOnlyをtrueにすると、Silverlight 2では背景は変化しませんが、Silverlight 3ではグレーになります。
  • UIElement.MouseWheelイベントが追加されましたが、コントロールが自動的にホイール対応にはなりません。