• HOME
  • PRODUCTS
  • DEMOS
  • DOWNLOAD
  • BUY
  • BLOG
  • FORUM
  • DOCUMENTATION
  • ABOUT
Search Results for

    Show / Hide Table of Contents

    ControlManipulationOptions Property

    ControlManipulationOptions

    Declaration
    public ControlManipulationOptions ControlManipulationOptions { get; set; }
    Property Value
    Type Description
    ControlManipulationOptions
    Implements
    IFormDesignerControl.ControlManipulationOptions
    Remarks

    You can change Form Designer's behavior by setting different options. For example, turning on the AllowRotate property to allow rotation of the design surface.

    Examples

    Here is how to use a ControlManipulationOptions in the C# code:

    using System;
    
    public partial class MainWindow : Window
    {
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            var formDesigner = new Alternet.FormDesigner.Wpf.FormDesignerControl();
            formDesigner.ControlManipulationOptions = ControlManipulationOptions.AllowRotate | ControlManipulationOptions.AllowSkew;
        }
    }
    

    Here is how to use a ControlManipulationOptions in the Visual Basic code:

    Imports System
    
    Partial Public Class MainWindow
        Inherits Window
    
        Private Sub Window_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs)
            Dim formDesigner = New Alternet.FormDesigner.Wpf.FormDesignerControl()
            formDesigner.ControlManipulationOptions = ControlManipulationOptions.AllowRotate Or ControlManipulationOptions.AllowSkew
        End Sub
    End Class
    
    In This Article
    Back to top Copyright AlterNET Software Download PDF