TouchToolKit for WinForms | ComponentOne
In This Topic
    TouchToolKit For WinForms Sample
    In This Topic

    Please be advised that this ComponentOne software tool is accompanied by various sample projects and/or demos which may make use of other development tools included with ComponentOne Studio. 

    Please refer to the pre-installed product samples through the following path:
    Documents\ComponentOne Samples\WinForms
    The following tables provide a short description of each sample.

    The following pages within the ControlExplorer sample installed with TouchToolKit for WinForms detail the C1Zoom, C1ZoomPanel, C1ApplicationZoom, C1Magnify, C1MultiScaleImage, and C1TouchEventProvider’s functionality:

    Visual Basic Samples

     

    Sample

    Description

    C1Zoom Basic Zoom and Scroll

    This page demonstrates how to use C1Zoom’s features and its following properties: ZoomPreviewMode, BoundaryFeedbackMode, AllowDoubleTapZoom, ScrollIndicatorMode, IsHorizontalRailEnabled, IsVerticalRailEnabled, and KeepAspectRation.  Select the settings for these properties on the page and click the Show Form button to see how these settings effect the zooming.

    C1Zoom ControlBar

    Demonstrates C1ControlBar’s built-in actions and customizable actions.

    C1Zoom Show Control

    Demonstrates the behavior of the AutoShowControl property when it is enabled.

    C1Zoom Pan Window

    Shows how to use different methods to show the Pan Window.

    C1Zoom Zoom Policy

    Demonstrates how each zoom policy effects the control when zooming.

    C1Zoom Misc

    This page showcases a few of C1Zoom's appearance and layout properties. The following properties are used in this sample to illustrate the various appearance and layout settings for C1Zoom: Backcolor, BackgroundImage, BackgroundImageLayout FullScreenMode, InnerPanelLayoutMode, and KeepAspectRatio.

    C1ZoomPanel Basic (Zoom and Scroll)

    This page demonstrates how to use C1ZoomPanel’s features and its following properties: ZoomPreviewMode, BoundaryFeedbackMode, AllowDoubleTapZoom, ScrollIndicatorMode, IsHorizontalRailEnabled, IsVerticalRailEnabled, and KeepAspectRation.  Select the settings for these properties on the page and click the Show Form button to see how these settings effect the zooming. When you zoom in by touch the percentage of the ZoomFactor appears in the Event logs.

    C1ApplicationZoom

    This page demonstrates how to use C1ZoomApplication's features and its following properties: ZoomPreviewMode, BoundaryFeedbackMode, AllowDoubleTapZoom, ScrollIndicatorMode, IsHorizontalRailEnabled,

     IsVerticalRailEnabled, and KeepAspectRatio. Select the settings for these properties on the page and click the Show Form button to see how these settings effect the zooming.

    C1Magnify

    This page demonstrates how to use C1Magnifier’s behavior and appearance properties. Select the settings for these properties on the page and tap and hold your finger inside the textbox area to make the magnifier popup.

    C1MultiScaleImage

    This page illustrates the difference between a PictureBox and C1MultiScaleImage. To see the difference, zoom in the PictureBox and C1MultiScaleImage by touch.

    Touch Events List

    This sample page showcases the three types of user interaction events:  pointer, tap, and manipulation.

    ContextualUI

    Shows how to provide a touch-optimized contextual UI if its opened by touch.

    AutoRepeat

    Demonstrates how to use C1TouchEventProvider's EnablePressAndHold feature.

    ImageViewer

    Demonstrates how to use C1TouchEventProvider to make a picture viewer where you can zoom, pan, and rotate the picture.

    Drawing Board for Pen

    Shows how to use the pen or your finger to draw on the screen.

    C# Samples

    Sample

    Description

    C1Zoom Basic Zoom and Scroll

    This page demonstrates how to use C1Zoom’s features and its following properties: ZoomPreviewMode, BoundaryFeedbackMode, AllowDoubleTapZoom, ScrollIndicatorMode, IsHorizontalRailEnabled, IsVerticalRailEnabled, and KeepAspectRation.  Select the settings for these properties on the page and click the Show Form button to see how these settings effect the zooming.

    C1Zoom ControlBar

    Demonstrates C1ControlBar’s built-in actions and customizable actions.

    C1Zoom Show Control

    Demonstrates the behavior of the AutoShowControl property when it is enabled.

    C1Zoom Pan Window

    Shows how to use different methods to show the Pan Window.

    C1Zoom Zoom Policy

    Demonstrates how each zoom policy effects the control when zooming.

    C1Zoom Misc

    This page showcases a few of C1Zoom's appearance and layout properties. The following properties are used in this sample to illustrate the various appearance and layout settings for C1Zoom: Backcolor, BackgroundImage, BackgroundImageLayout FullScreenMode, InnerPanelLayoutMode, and KeepAspectRatio.

    C1ZoomPanel Basic (Zoom and Scroll)

    This page demonstrates how to use C1ZoomPanel’s features and its following properties: ZoomPreviewMode, BoundaryFeedbackMode, AllowDoubleTapZoom, ScrollIndicatorMode, IsHorizontalRailEnabled, IsVerticalRailEnabled, and KeepAspectRation.  Select the settings for these properties on the page and click the Show Form button to see how these settings effect the zooming. When you zoom in by touch the percentage of the ZoomFactor appears in the Event logs.

    C1ApplicationZoom

    This page demonstrates how to use C1ZoomApplication's features and its following properties: ZoomPreviewMode, BoundaryFeedbackMode, AllowDoubleTapZoom, ScrollIndicatorMode, IsHorizontalRailEnabled,

     IsVerticalRailEnabled, and KeepAspectRatio. Select the settings for these properties on the page and click the Show Form button to see how these settings effect the zooming.

    C1Magnify

    This page demonstrates how to use C1Magnifier’s behavior and appearance properties. Select the settings for these properties on the page and tap and hold your finger inside the textbox area to make the magnifier popup.

    C1MultiScaleImage

    This page illustrates the difference between a PictureBox and C1MultiScaleImage. To see the difference, zoom in the PictureBox and C1MultiScaleImage by touch.

    Touch Events List

    This sample page showcases the three types of user interaction events:  pointer, tap, and manipulation.

    ContextualUI

    Shows how to provide a touch-optimized contextual UI if its opened by touch.

    AutoRepeat

    Demonstrates how to use C1TouchEventProvider's EnablePressAndHold feature.

    ImageViewer

    Demonstrates how to use C1TouchEventProvider to make a picture viewer where you can zoom, pan, and rotate the picture.

    Drawing Board for Pen

    Shows how to use the pen or your finger to draw on the screen.