New to Telerik UI for WPFStart a free 30-day trial

Represents AligningAdorner.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Primitives

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public class AlignmentAdorner : DiagramAdornerBase

Inheritance: objectDiagramAdornerBaseAlignmentAdorner

Inherited Members DiagramAdornerBase.ResetTheme()DiagramAdornerBase.DiagramDiagramAdornerBase.PositionDiagramAdornerBase.Rotation

Constructors

C#
public AlignmentAdorner()

Fields

Identifies the HorizontalLineStrokeDashArray attached property.

C#
public static readonly DependencyProperty HorizontalLineStrokeDashArrayProperty

Identifies the HorizontalLineStroke attached property.

C#
public static readonly DependencyProperty HorizontalLineStrokeProperty

Identifies the HorizontalLineStrokeThickness attached property.

C#
public static readonly DependencyProperty HorizontalLineStrokeThicknessProperty

Identifies the VerticalLineStrokeDashArray attached property.

C#
public static readonly DependencyProperty VerticalLineStrokeDashArrayProperty

VerticalLineStrokeProperty

DependencyProperty

Identifies the VerticalLineStroke attached property.

C#
public static readonly DependencyProperty VerticalLineStrokeProperty

Identifies the VerticalLineStrokeThickness attached property.

C#
public static readonly DependencyProperty VerticalLineStrokeThicknessProperty

Methods

Draw snapping lines.

C#
public void DrawAligningLines(IEnumerable<Rect> logicalLines)
Parameters:logicalLinesIEnumerable<Rect>

Gets the alignment adorner HorizontalLineStroke property.

C#
public static Brush GetHorizontalLineStroke(DependencyObject obj)
Parameters:objDependencyObjectReturns:

Brush

Gets the alignment adorner HorizontalLineStrokeDashArray property.

C#
public static DoubleCollection GetHorizontalLineStrokeDashArray(DependencyObject obj)
Parameters:objDependencyObjectReturns:

DoubleCollection

Gets the alignment adorner HorizontalLineStrokeThickness property.

C#
public static double GetHorizontalLineStrokeThickness(DependencyObject obj)
Parameters:objDependencyObjectReturns:

double

Gets the alignment adorner VerticalLineStroke property.

C#
public static Brush GetVerticalLineStroke(DependencyObject obj)
Parameters:objDependencyObjectReturns:

Brush

Gets the alignment adorner VerticalLineStrokeDashArray property.

C#
public static DoubleCollection GetVerticalLineStrokeDashArray(DependencyObject obj)
Parameters:objDependencyObjectReturns:

DoubleCollection

Gets the alignment adorner VerticalLineStrokeThickness property.

C#
public static double GetVerticalLineStrokeThickness(DependencyObject obj)
Parameters:objDependencyObjectReturns:

double

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: DiagramAdornerBase.OnInitialized(EventArgs)

Sets the alignment adorner HorizontalLineStroke property.

C#
public static void SetHorizontalLineStroke(DependencyObject obj, Brush value)
Parameters:objDependencyObjectvalueBrush

Sets the alignment adorner HorizontalLineStrokeDashArray property.

C#
public static void SetHorizontalLineStrokeDashArray(DependencyObject obj, DoubleCollection value)
Parameters:objDependencyObjectvalueDoubleCollection

Sets the alignment adorner HorizontalLineStrokeThickness property.

C#
public static void SetHorizontalLineStrokeThickness(DependencyObject obj, double value)
Parameters:objDependencyObjectvaluedouble

Sets the alignment adorner VerticalLineStroke property.

C#
public static void SetVerticalLineStroke(DependencyObject obj, Brush value)
Parameters:objDependencyObjectvalueBrush

Sets the alignment adorner VerticalLineStrokeDashArray property.

C#
public static void SetVerticalLineStrokeDashArray(DependencyObject obj, DoubleCollection value)
Parameters:objDependencyObjectvalueDoubleCollection

Sets the alignment adorner VerticalLineStrokeThickness property.

C#
public static void SetVerticalLineStrokeThickness(DependencyObject obj, double value)
Parameters:objDependencyObjectvaluedouble