我做事向来没有常性,总是半途而废,一本书看二年多的故事也发生过。这个WPF技术一年前我就在研究,可是中途又遇到了WF,SharpDevelop,以及Ajax,一个比一个华丽,带走了我的眼球;后来又用了三个月研究CLR,设计模式,于是时间就到了现在。
一个程序员,28岁是最辉煌的时间。我今年已经26了,写一本书的想法越来越成型。
我本来想写SharpDevelop研究的书,去微软做IDE是我的一个心愿;但是我发现自己的技术还没有达到这个层次,需要时间和经验的累积;于是我想到了WPF,这套技术我倒是想明白了。
这套SDK一共28个大类,422个示例,我写了一个程序把它们输出到txt中,显示如下:
Accessibility
FindText
FragmentProvider
InsertText
InvokePatternApp
NavigatingWithTreeWalker
RecordAndPlaybackSample
SimpleProvider
TrackFocus
WindowMove
AppModel
ActivationSample
ApplicationShutdownSample
CookieSample
CustomWindow
DispatcherUnhandledExceptionSample
DynamicIUI
FragmentNavigationSample
GetSet
IUIFrame
LaunchDialogBox
NavigationServiceSample
NavWindowEvents
NonRectangularWindowSample
OnStartUp
OpenWindow
PageAPI
PersistApplication
ReusableCustomApplicationSample
SimpleIUI2
SimpleNav
SimpleProcedural
SingleInstanceDetectionSample
StateNavigationSample
ThemedApplicationSample
WindowAPI
ConnectedData
ADODataSet
BindConversionMarkup
BindDPtoDP
BindNonTextProperty
BindValidation
CodeOnlyBinding
CollectionView
CollectionViewSource
Colors
CompositeCollections
DataBindingLab
DataTemplateSelector
DataTrigger
DirectionalBinding
HierarchicalDataTemplate
MasterDetail
MasterDetailXml
MultiBinding
ObservableCollection
PriorityBinding
PropertyChangeNotification
SimpleBinding
SimpleBindingCompact
SortFilter
UpdateSource
XmlDataSource
XmlDataSource2
XmlnsBind
Controls
AccessText
AnimatedPopup
BtnColor
BtnStyles
BulletPanelExample
CheckBoxElement
CheckBoxStyles
ComboBoxItems
ComboBoxSimple
ComboBoxStyles
ContentControl
ContextMenu
ContextMenuShared
ContextMenuStyles
ControlProps
ControlsAll
ControlTemplateExamples
CustomControlNumericUpDown
CustomControlNumericUpDownExternalLibrary
CustomControlNumericUpDownOneProject
ExpanderExample
ExpanderRichContent
FrameExample
GridSplitterProperties
GridSplitterRowColumn
GridViewWithGroups
GroupBoxExample
HeaderedContentControl
HeaderedItemsControl
Label
ListBoxEvent
ListBoxHorizontal
ListBoxItems
ListBoxItemStyle
ListBoxStyles
ListViewCheckBox
ListViewCode
ListViewCustomView
ListViewEditable
ListViewHeaderRoleStyle
ListViewItemStyle
ListViewSort
ListViewTemplate
MenuEvent
MenuStyles
PopupCustomPlacement
PopupPosition
PopupSimple
ProgressBar
RadioButton
RepeatButton
RepeatButtonStyles
ScrollBarTemplateExample
Slider
SliderStyles
SliderwithDataBinding
StatusBar
TabControl
TabControlStyles
TabControlUsingControlTemplates
TabControlwithContextMenu
Thumb
ToolBarExample
ToolBarStyles
ToolTipAssign
ToolTipCustom
ToolTipEvents
ToolTipService
ToolTipSimple
ToolTipStyles
TreeListView
TreeViewSelectedValue
TreeViewSimple
UserControlNumericUpDown
Core
CommandHandlerProcedural
commandWithHandler
cursors
Custom_RoutedCommand
detectMouseButtonState
DispatcherAccessSample
DispatcherObjectAccessSample
DPClearValue
DPCustom
FEFindName
FEFocusVisualStyle
FELoaded
FEMarginProgrammatic
FEResource
FocusSample
gotfocusLostfocusEffectUsingEvent
ImplementICommandSource
InvalidateRequeryWithDispatcherTimer
InvalidateRequeryWithSystemTimer
KeyboardSample
KeyDown
LogicalOverride
MouseCaptureSample
mouseenterMouseleave
mouseMoveWithPointer
PhotoStoreDemoSimpleUI
PhotoStoreDemoStyled
ResourcesApplication
RoutedEventAddRemoveHandler
RoutedEventCustom
RoutedEventHandle
RoutedEventSource
StyleEventTriggerAnimation
ThreadingMultipleBrowsers
ThreadingPrimeNumber
ThreadingWeatherForecast
Demos
15Puzzle
AvalonCalculator
BlackjackExpress
ColorPicker
ConcentricRings
CubeAnimation
DropShadowInk
EditingExaminer
ExpenseIt
Flipper
FontDialog
FontPlayer
GeometryDesigner
GraphCalc
HexSphere
hwndInWPF
LayoutTransitions
LogonScreen
Particles
photoapp
PhotoStoreDemo
SketchPad
StickyNotes
TrafficAlert
VideoText
Win32Clock
DocServices
DocumentSerialize
DocumentStructure
DocViewerAnnotationsXml
DocViewerAnnotationsXps
PackageDigitalSignature
PackageRead
PackageWrite
RightsManagedContentPublish
RightsManagedContentViewer
RightsManagedPackagePublish
RightsManagedPackageViewer
XpsCreate
XpsPrint
XpsReadWriteSign
XpsSave
Editing
Adorners_AddRemoveAdorners
Adorners_ResizingAdorner
Adorners_SimpleCircleAdorner
ClipboardSpy_Sample
DragDrop_DragEvents
DragDrop_DragText
DragDrop_DropOpenTextFile
DragDrop_ShowDataFormats
EditingCommands_Sample
PasswordBox_MainSample
RichTextBox_ContextMenu
RichTextBox_NoScrollViewer
TextBoxBase_AutoWordSelection
TextBoxBase_Samp
TextBox_ContextMenu
TextBox_CursorToEnd
TextBox_DetectChangedText
TextBox_NavigationMethods
TextBox_NoScrollViewer
TextBox_RetrieveSelection
TextBox_SpacePreserve
Flow
FlowDirectionLayout
FlowDocumentNews
FlowDocumentPropsSamp
FlowDocument_LoadSave
FlowDoc_OptimalParagraph
FlowFormatCatalog
FontFamilySample
TableCsharpSample
TableElementSample
TableVBAddContent
TableVsGridSample
textblockPropsSamp
TextTrimmingLayout
TextWrapProperty
Gallery
SamplesGallery
GlobalizationLocalization
FlowDirection
GlobalizationHomepage
GlobalizationRunDialog
Gradient
Image
LangAttribute
LocalizationBtn
LocalizationGrid
LocalizationResources
LocBaml
LTRRTL
Paths
Span
GraphicsMM
ColorPickerCustomControl
CompositionTargetSample
ConverterSample
DrawingVisualSample
MatrixSample
PointSample
VectorSample
VisualsHitTesting
GraphicsMM_3D
3DOverview
3DPaper
3DSolids
Animate3DRotation
Animate3DRotationCode
Basic3D
HitTest3D
MatrixTransform3DView
Point3DSample
Point4DSample
QuaternionView
Show3DLights
Size3DSample
Vector3DSample
Video3DdrawingBrush_demo
GraphicsMM_Animation
animateHeight
animatepath
animateproperty
AnimatePropertyStoryboards
animaterotate
animateSize
animation_gallery
basicvalues
BezierTimeExample
CompositionTargetRenderingAnimations
CustomAnimationSample
keyframes
OpacityAnim
PathAnimationGallery
positionanimation
timingbehaviors
widthAndHeightAnimation
GraphicsMM_BitmapEffects
EffectsGallery
GraphicsMM_Brushes
BrushesIntroduction
DrawingBrush
GradientTransform
OpacityMasksExample
SystemColorsAndBrushes
UsingImageBrush
UsingVisualBrush
GraphicsMM_Geometries
ClipPathExample
GeometrySample
GraphicsMM_Imaging
BitMapMetadata
BmpBitmapDecoderEncoder
GifBitmapDecoderEncoder
ImageElementExample
ImageView
JpegBitmapDecoderEncoder
PngBitmapDecoderEncoder
TiffBitmapDecoderEncoder
WdpBitmapDecoderEncoder
GraphicsMM_Media
MediaGallery
GraphicsMM_Shapes
DrawingWithShapeElements
ShapesProcedural
GraphicsMM_Speech
SpeechSample
GraphicsMM_Text
CapitalsProperty
DrawTextToControlBackground
GlyphsOvwSamp1
GlyphsOvwSamp2
NumberSubstitutionSample
OpenTypeFontsSample
OutlinedTextSample
TextAnimationSample
TextDecorationExample
TextEffectSample
TextFormatterExample
TextPathGeometryHightlightSample
TextShadowSample
TextTransformSample
TypographySamp1
TypographySamp2
TypographySamp4
GraphicsMM_Transforms
ButtonTransform
transformsSample
Imaging
AITCodec
RGBFilterEffect
Intro
QuickStart1
QuickStart2
QuickStart3
QuickStart4
QuickStart5
WordGame1
WordGame2
Layout
AutoGrid
BorderChangeProgrammatic
CanvasAttachedProperties
CanvasCode
CanvasOvwSample
CanvasPositioningProperties
CanvasZ-Order
columndefinitionsGrid
CustomPanel
DockPanelCode
DockPanelDockPropertyCode
DockPanelOvwSample
DockPanelOvwSample2
DockPanelSetDock
FlowDocumentSamp
FontSizeConverter
Grid
GridComplex
GridConvertValue
gridGetSetMethods
gridIssharedsizescopeProp
gridlengthConverterGrid
GridRunDialog
GridStarValues
HeightMinHeightMaxHeight
IScrollInfoMethods
LayoutDataComponent
LayoutInformation
LayoutTransform
MarginPaddingAlignmentSample
MPALayoutHorizontalAlignment
MPALayoutSampleIntro
MPALayoutVerticalAlignment
PlotPanel
RadialPanel
SampleViewerLite
scrollchangedeventargsLayout
ScrollViewer
ScrollViewerMethods
ScrollViewerScrollChanged
StackPanelIntroSamp
StackPanelOvw4
Styled_ScrollViewer
ThicknessConverter
UIElementCollection
UIElementCollectionIndexOf
ViewBoxCode
viewboxStretchLayoutSamp
visibilityLayoutSamp
WidthMinWidthMaxWidth
WrapPanel_Intro
MigrationInterop
AvalonHostingWindowsFormsControl
HostingAxInWpf
HostingAxInWpfWithXaml
HostingWfInWPF
HostingWfInWpfWithXaml
HostingWfWithVisualStyles
HostingWpfUserControlInWf
LocalizingWpfInWf
ManuallyCreatingAWpfProject
PropertyMappingWithElementHost
PropertyMappingWithWfh
Win32HostingWPFPage
WindowsFormsHostingAvalonControl
WPFHostingWin32Control
WpfLayoutHostingWfWithXaml
WPFWithWFAndDatabinding
Printing
EnumerateSubsetOfPrintQueues
PrintDialog