We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to enable touch manipulations in SfRichTextBoxAdv control?

Platform: UWP |
Control: SfRichTextBoxAdv |
.NET Framework: 4.5.1

In UWP application, you should specify the ManipulationMode property for the controls in order to enable touch manipulations such as pan/scroll and zoom. Similarly, you should specify the ManipulationMode property for the SfRichTextBoxAdv control.

 

The following code example demonstrates how to configure all the touch manipulations in SfRichTextBoxAdv control.

XAML

C#

VB

 

You can configure the specific touch manipulations for an UIElement by setting appropriate combinations of Manipulation modes. The following table demonstrates the Manipulation modes for enabling specific touch manipulations.

 

Touch Manipulation

ManipulationMode

Vertical scrolling only

TranslateY, TranslateInertia

Horizontal scrolling only

TranslateX, TranslateInertia

Vertical and horizontal scrolling only

TranslateX, TranslateY, TranslateInertia

Scaling only

Scale, ScaleInertia

Scrolling and scaling only

Scale, ScaleInertia, TranslateX, TranslateY, TranslateInertia

 

The following code example demonstrates how to configure the touch manipulations for scrolling and scaling alone in SfRichTextBoxAdv control.

XAML

C#

VB

 

2X faster development

The ultimate UWP UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile