Download Custom WPF Controls in F#

Description

This project is to give users non trivial examples of custom WPF controls in F#.The code is a translation of the excellent book ?WPF Control Development Unleashed: Building Advanced User Interfaces? written by Pavan Podila and Kevin Hoffman.

Icons

Custom WPF Controls in F#

Source Files

The download file wpffsharp.zip has the following entries.


BookExplorer.sln/*from ww  w  .  j a v a2 s.  c om*/
BuildProcessTemplates/DefaultTemplate.11.1.xaml
BuildProcessTemplates/DefaultTemplate.xaml
BuildProcessTemplates/LabDefaultTemplate.11.xaml
BuildProcessTemplates/UpgradeTemplate.xaml
Chapters/Chapter02/InkCanvasExample.xaml
Chapters/Chapter02/InkCanvasExample.xaml.cs
Chapters/Chapter02/MediaElementExample.xaml
Chapters/Chapter02/MediaElementExample.xaml.cs
Chapters/Chapter02/SectorShapeExample.xaml
Chapters/Chapter02/SectorShapeExample.xaml.cs
Chapters/Chapter02/VisualContainerExample.xaml
Chapters/Chapter02/VisualContainerExample.xaml.cs
Chapters/Chapter03/CircularMinuteTimer.xaml
Chapters/Chapter03/CircularMinuteTimer.xaml.cs
Chapters/Chapter03/ProgressBarAsProcessStages.xaml
Chapters/Chapter03/ProgressBarAsProcessStages.xaml.cs
Chapters/Chapter04/BasicZOrderControl.xaml
Chapters/Chapter04/BasicZOrderControl.xaml.cs
Chapters/Chapter04/DynamicZOrderControl.xaml
Chapters/Chapter04/DynamicZOrderControl.xaml.cs
Chapters/Chapter04/EllipticalPanelTest.xaml
Chapters/Chapter04/EllipticalPanelTest.xaml.cs
Chapters/Chapter04/TransformsExample.xaml
Chapters/Chapter04/TransformsExample.xaml.cs
Chapters/Chapter04/VanishingPointPanelTest.xaml
Chapters/Chapter04/VanishingPointPanelTest.xaml.cs
Chapters/Chapter04/WPFPanels.xaml
Chapters/Chapter04/WPFPanels.xaml.cs
Chapters/Chapter04/WeightedPanelTest.xaml
Chapters/Chapter04/WeightedPanelTest.xaml.cs
Chapters/Chapter05/AnimatedTabControl.xaml
Chapters/Chapter05/AnimatedTabControl.xaml.cs
Chapters/Chapter05/GuageSliderExample.xaml
Chapters/Chapter05/GuageSliderExample.xaml.cs
Chapters/Chapter05/InspectBubble.psd
Chapters/Chapter05/ListBoxCustomization.xaml
Chapters/Chapter05/ListBoxCustomization.xaml.cs
Chapters/Chapter05/RadarExample.xaml
Chapters/Chapter05/RadarExample.xaml.cs
Chapters/Chapter05/ScrollBarExample.xaml
Chapters/Chapter05/ScrollBarExample.xaml.cs
Chapters/Chapter06/CanvasExample/DragCanvasExample.xaml
Chapters/Chapter06/CanvasExample/DragCanvasExample.xaml.cs
Chapters/Chapter06/HoverInteractorExample.xaml
Chapters/Chapter06/HoverInteractorExample.xaml.cs
Chapters/Chapter06/RowVisibilityService.cs
Chapters/Chapter06/Window2.xaml
Chapters/Chapter06/Window2.xaml.cs
Chapters/Chapter07/RowsPanelTester.xaml
Chapters/Chapter07/RowsPanelTester.xaml.cs
Chapters/Chapter07/ScrollingExample.xaml
Chapters/Chapter07/ScrollingExample.xaml.cs
Chapters/Chapter08/OverlayRectsOn3DObjects.xaml
Chapters/Chapter08/OverlayRectsOn3DObjects.xaml.cs
Chapters/Chapter08/StaggeredPanelTester.xaml
Chapters/Chapter08/StaggeredPanelTester.xaml.cs
Chapters/Chapter09/DifferentEffects.xaml
Chapters/Chapter09/DifferentEffects.xaml.cs
Chapters/Chapter09/DockSlideTester.xaml
Chapters/Chapter09/DockSlideTester.xaml.cs
Chapters/Chapter09/DockSlideVisualTree.xaml
Chapters/Chapter09/InternalResources.xaml
Chapters/Chapter09/LassoSelectionExample.xaml
Chapters/Chapter09/LassoSelectionExample.xaml.cs
Chapters/Chapter09/MagnifyingGlassExample.xaml
Chapters/Chapter09/MagnifyingGlassExample.xaml.cs
Chapters/Chapter09/MapView.xaml
Chapters/Chapter09/MapView.xaml.cs
Chapters/Chapter09/Transition/TransitionStoryboards.xaml
Chapters/Chapter09/Transition/TransitionTester.xaml
Chapters/Chapter09/Transition/TransitionTester.xaml.cs
Chapters/Chapter09/WindowSill.xaml
Chapters/Chapter09/WindowSill.xaml.cs
Chapters/Chapter10/BlackStoneWindow.xaml
Chapters/Chapter10/BlackStoneWindow.xaml.cs
Chapters/Chapter10/Brushes.xaml
Chapters/Chapter10/CustomWindowTester.xaml
Chapters/Chapter10/CustomWindowTester.xaml.cs
Chapters/Chapter10/ResourceKeyTester.xaml
Chapters/Chapter10/ResourceKeyTester.xaml.cs
Chapters/Chapter10/RuntimeSkinning.xaml
Chapters/Chapter10/RuntimeSkinning.xaml.cs
Chapters/Chapter10/Skins/BlueSkin.xaml
Chapters/Chapter10/Skins/GreenSkin.xaml
Chapters/Chapter10/Skins/RedSkin.xaml
Chapters/Chapter11/GardenViewPanel3DExample.xaml
Chapters/Chapter11/GardenViewPanel3DExample.xaml.cs
Chapters/Chapter11/InteractiveGardenViewPanel3DExample.xaml
Chapters/Chapter11/InteractiveGardenViewPanel3DExample.xaml.cs
Chapters/Chapter11/InternalResources.xaml
Chapters/Chapter11/Simple3DWorld.xaml
Chapters/Chapter11/Simple3DWorld.xaml.cs
Chapters/Chapter11/View3DElementExample.xaml
Chapters/Chapter11/View3DElementExample.xaml.cs
Chapters/Chapter11/Viewport2DVisual3DExample.xaml
Chapters/Chapter11/Viewport2DVisual3DExample.xaml.cs
Chapters/Chapter12/FallingObjects.xaml
Chapters/Chapter12/FallingObjects.xaml.cs
Chapters/Chapter12/FromToAnimation.xaml
Chapters/Chapter12/FromToAnimation.xaml.cs
Chapters/Chapter12/KeyFrameAnimation.xaml
Chapters/Chapter12/KeyFrameAnimation.xaml.cs
Chapters/Chapter12/MeshMorphAnimationExample.xaml
Chapters/Chapter12/MeshMorphAnimationExample.xaml.cs
Chapters/Chapter12/NestedStoryboardAnimation.xaml
Chapters/Chapter12/NestedStoryboardAnimation.xaml.cs
Chapters/Chapter12/PathAnimationExample.xaml
Chapters/Chapter12/PathAnimationExample.xaml.cs
Chapters/Chapter12/TrackBall.cs
Chapters/Chapter13/Displacement_MultiInputTester.xaml
Chapters/Chapter13/Displacement_MultiInputTester.xaml.cs
Chapters/Chapter13/EffectMappingExample.xaml
Chapters/Chapter13/EffectMappingExample.xaml.cs
Chapters/Chapter13/GrayscaleEffect_Tester.xaml
Chapters/Chapter13/GrayscaleEffect_Tester.xaml.cs
Chapters/Chapter13/Shaders/Displacement.fx
Chapters/Chapter13/Shaders/Displacement.ps
Chapters/Chapter13/Shaders/Grayscale.fx
Chapters/Chapter13/Shaders/Grayscale.ps
Chapters/Chapter13/Shaders/Squeeze.fx
Chapters/Chapter13/Shaders/Squeeze.ps
Chapters/Chapter13/Shaders/Twirl.fx
Chapters/Chapter13/Shaders/Twirl.ps
Chapters/Chapter13/TwirlEffect_Tester.xaml
Chapters/Chapter13/TwirlEffect_Tester.xaml.cs
Chapters/Chapter13/earthmap.jpg
Chapters/Chapter14/AttachedEventTester.xaml
Chapters/Chapter14/AttachedEventTester.xaml.cs
Chapters/Chapter14/ClassHandlerExample.xaml
Chapters/Chapter14/ClassHandlerExample.xaml.cs
Chapters/Chapter14/CommandSourceTester.xaml
Chapters/Chapter14/CommandSourceTester.xaml.cs
Chapters/Chapter14/FocusBorderBrush.xaml
Chapters/Chapter14/FocusVisualStyleExample.xaml
Chapters/Chapter14/FocusVisualStyleExample.xaml.cs
Chapters/Chapter14/KeyboardNavigationExample.xaml
Chapters/Chapter14/KeyboardNavigationExample.xaml.cs
Chapters/Chapter14/SampleCode.xaml
Chapters/Chapter14/SampleCode.xaml.cs
Chapters/Chapter14/SearchBar.xaml
Chapters/Chapter14/SearchBar.xaml.cs
Chapters/Chapter14/SimpleCommandingExample.xaml
Chapters/Chapter14/SimpleCommandingExample.xaml.cs
Chapters/Chapter14/TextBoxHelperExample.xaml
Chapters/Chapter14/TextBoxHelperExample.xaml.cs
Chapters/Chapter14/WeakEventTester.xaml
Chapters/Chapter14/WeakEventTester.xaml.cs
Chapters/Chapter15/RenderTargetBitmapExample.xaml
Chapters/Chapter15/RenderTargetBitmapExample.xaml.cs
Chapters/Chapter16/BackgroundWorkerExample.xaml
Chapters/Chapter16/BackgroundWorkerExample.xaml.cs
Chapters/Chapter16/CrossThreadDataBindingExample.xaml
Chapters/Chapter16/CrossThreadDataBindingExample.xaml.cs
Chapters/Chapter16/DPExample.xaml
Chapters/Chapter16/DPExample.xaml.cs
Chapters/Chapter16/NotifySourceTargetExample.xaml
Chapters/Chapter16/NotifySourceTargetExample.xaml.cs
Chapters/Chapter16/RelSourceExample.xaml
Chapters/Chapter16/RelSourceExample.xaml.cs
Chapters/Chapter17/ClipAnimationExample.xaml
Chapters/Chapter17/ClipAnimationExample.xaml.cs
Chapters/Chapter17/DrawingBrushExample.xaml
Chapters/Chapter17/DrawingBrushExample.xaml.cs
Chapters/Chapter17/GradientBrushRelativeTransformExample.xaml
Chapters/Chapter17/GradientBrushRelativeTransformExample.xaml.cs
Chapters/Chapter17/MarkupExtensionExample.xaml
Chapters/Chapter17/MarkupExtensionExample.xaml.cs
Chapters/Chapter17/OpacityMaskAndClip.xaml
Chapters/Chapter17/OpacityMaskAndClip.xaml.cs
Chapters/Chapter17/WebdingsFontForIconsExample.xaml
Chapters/Chapter17/WebdingsFontForIconsExample.xaml.cs
Chapters/Chapter18/AutomationClientAPIExample.xaml
Chapters/Chapter18/AutomationClientAPIExample.xaml.cs
Chapters/Chapter18/RangeSelector.xaml
Chapters/Chapter18/RangeSelectorAutomationExample.xaml
Chapters/Chapter18/RangeSelectorAutomationExample.xaml.cs
Chapters/ChapterDescriptions/Introduction.xaml
Chapters/ChapterDescriptions/Introduction.xaml.cs
Chapters/ChapterDescriptions/frontpage.jpg
Chapters/Chapters.csproj
Chapters/Chapters.csproj.user
Chapters/Properties/AssemblyInfo.cs
Chapters/Properties/Resources.Designer.cs
Chapters/Properties/Resources.resx
Chapters/Properties/Settings.Designer.cs
Chapters/Properties/Settings.settings
Chapters/Settings.StyleCop
Chapters/Themes/Aero.NormalColor.xaml
Chapters/Themes/Classic.xaml
Chapters/Themes/CustomChromeWindow.Generic.xaml
Chapters/Themes/Generic.xaml
Chapters/Themes/WindowDecoration/close_hover.png
Chapters/Themes/WindowDecoration/close_normal.png
Chapters/Themes/WindowDecoration/close_pressed.png
Chapters/Themes/WindowDecoration/max_hover.png
Chapters/Themes/WindowDecoration/max_normal.png
Chapters/Themes/WindowDecoration/max_pressed.png
Chapters/Themes/WindowDecoration/min_hover.png
Chapters/Themes/WindowDecoration/min_normal.png
Chapters/Themes/WindowDecoration/min_pressed.png
Chapters/Themes/WindowDecoration/restore_hover.png
Chapters/Themes/WindowDecoration/restore_normal.png
Chapters/Themes/WindowDecoration/restore_pressed.png
ControlTest/App.xaml
ControlTest/App.xaml.cs
ControlTest/ControlTest.csproj
ControlTest/Properties/AssemblyInfo.cs
ControlTest/Properties/Resources.Designer.cs
ControlTest/Properties/Resources.resx
ControlTest/Properties/Settings.Designer.cs
ControlTest/Properties/Settings.settings
ControlTest/Window1.xaml
ControlTest/Window1.xaml.cs
Explorer/App.xaml
Explorer/App.xaml.cs
Explorer/BookExplorer.csproj
Explorer/BookExplorer.csproj.user
Explorer/BookMeta.xml
Explorer/MainWindow.xaml
Explorer/MainWindow.xaml.cs
Explorer/Properties/AssemblyInfo.cs
Explorer/Properties/Resources.Designer.cs
Explorer/Properties/Resources.resx
Explorer/Properties/Settings.Designer.cs
Explorer/Properties/Settings.settings
Explorer/Resources/StyleGuide.xaml
Explorer/Resources/book.png
Explorer/Resources/chapter.png
Explorer/Resources/item.png
Explorer/Settings.StyleCop
Explorer/XmlToUriConverter.cs
FSharpLibrary/Chapter10.fs
FSharpLibrary/Chapter11.fs
FSharpLibrary/Chapter12.fs
FSharpLibrary/Chapter13.fs
FSharpLibrary/Chapter14.fs
FSharpLibrary/Chapter16.fs
FSharpLibrary/Chapter17.fs
FSharpLibrary/Chapter18.fs
FSharpLibrary/Chapter2.fs
FSharpLibrary/Chapter3.fs
FSharpLibrary/Chapter4.fs
FSharpLibrary/Chapter5.fs
FSharpLibrary/Chapter6.fs
FSharpLibrary/Chapter7.fs
FSharpLibrary/Chapter8.fs
FSharpLibrary/Chapter9.fs
FSharpLibrary/FSharpLibrary.fsproj
Resources/Chapter02/Bear.wmv
Resources/Chapter02/player_pause.png
Resources/Chapter02/player_play.png
Resources/Chapter02/player_start.png
Resources/Chapter02/player_stop.png
Resources/Chapter05/InspectBubble.png
Resources/Chapter05/plane.png
Resources/Chapter05/ship.png
Resources/Chapter05/sub.png
Resources/Chapter09/0_sun.png
Resources/Chapter09/1_mountains.png
Resources/Chapter09/2_hill.png
Resources/Chapter09/3_wood.png
Resources/Chapter09/DrinksMenu.jpg
Resources/Chapter09/LunchMenu.jpg
Resources/Chapter09/Phoenix.jpg
Resources/Chapter09/SoftEdgeMask.png
Resources/Chapter09/battery.png
Resources/Chapter09/bike_blue.jpg
Resources/Chapter09/bike_red.jpg
Resources/Chapter09/earthmap.jpg
Resources/Chapter09/wall.jpg
Resources/Chapter10/WindowIcon.png
Resources/Chapter10/circle17.png
Resources/Chapter10/line11.png
Resources/Chapter10/line6.png
Resources/Chapter11/01.png
Resources/Chapter11/02.png
Resources/Chapter11/03.png
Resources/Chapter11/04.png
Resources/Chapter11/05.png
Resources/Chapter11/06.png
Resources/Chapter11/07.png
Resources/Chapter11/08.png
Resources/Chapter11/09.png
Resources/Chapter12/world.jpg
Resources/Chapter16/graph_background.png
Resources/Properties/AssemblyInfo.cs
Resources/Resources.csproj
Resources/Resources.csproj.user
Resources/Shared/toucan.jpg
Resources/StringCollection.cs
UpgradeLog.XML
_UpgradeReport_Files/UpgradeReport.css
_UpgradeReport_Files/UpgradeReport.xslt
_UpgradeReport_Files/UpgradeReport_Minus.gif
_UpgradeReport_Files/UpgradeReport_Plus.gif

Download

Click the following link to download wpffsharp.zip.

wpffsharp.zip