Property ControlManipulationOptions
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
ControlManipulationOptions
Gets or sets manipulation options allowed for the controls on the designer surface.
public ControlManipulationOptions ControlManipulationOptions { get; set; }
Property Value
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
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.