Class MarginHandle
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Adorner that displays the margin of a control in a Grid.
public class MarginHandle : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable
- Inheritance
-
MarginHandle
- Implements
- Derived
- Extension Methods
Constructors
Fields
- HandleLengthOffset
Places the Handle with a certain offset so the Handle does not interfere with selection outline.
- HandleLengthProperty
Dependency property for HandleLength.
Properties
- Angle
Gets/Sets the angle by which handle rotates.
- DisplayOnlyStub
Decides whether stub has to be only displayed.
- HandleLength
Gets/Sets the length of Margin Handle.
- Orientation
Gets the orientation of the handle.
- ShouldBeVisible
Decides whether to permanently display the handle or not.
- Stub
Gets the Stub for this handle
- TextTransform
Gets/Sets the angle by which the Margin display has to be rotated
Methods
- DecideVisiblity(double)
Decides the visibility of Handle or stub,whichever is set and hides the line-endarrow if the control is near the Grid or goes out of it.
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- OnApplyTemplate()
This method is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
- OnHandleLengthChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Decides the visibility of handle/stub when HandleLength changes
- OnMouseEnter(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.
- OnMouseLeave(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.