Class CustomViewSettings
Class which represents the custom view settings.
Inheritance
System.Object
CustomViewSettings
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.UI.Xaml.ImageEditor
Assembly: Syncfusion.SfImageEditor.WPF.dll
Syntax
public class CustomViewSettings : Object, INotifyPropertyChanged
Constructors
CustomViewSettings()
Initializes a new instance of the CustomViewSettings class.
Declaration
public CustomViewSettings()
Properties
Angle
Gets or sets the rotation angle for the custom view.
Declaration
public float Angle { get; set; }
Property Value
Type |
---|
System.Single |
Bounds
Gets or sets the bounds of the custom view.
Declaration
public Rect Bounds { get; set; }
Property Value
Type |
---|
System.Windows.Rect |
CanMaintainAspectRatio
Gets or sets a value indicating whether to maintain aspect ratio while resizing.
Declaration
public bool CanMaintainAspectRatio { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableDrag
Gets or sets a value indicating whether custom view can be dragged or not.
Declaration
public bool EnableDrag { get; set; }
Property Value
Type |
---|
System.Boolean |
IsResizable
Gets or sets a value indicating whether to resize the custom view or not.
Declaration
public bool IsResizable { get; set; }
Property Value
Type |
---|
System.Boolean |
IsRotatable
Gets or sets a value indicating whether to rotate the custom view or not.
Declaration
public bool IsRotatable { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnPropertyChanged(String)
Method gets called when the property value gets changed.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The proeprty name. |
Events
PropertyChanged
Event gets raised when the property value gets changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged