DrawingAdorner
Represents a drawing adorner.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Primitives
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
public class DrawingAdorner : DiagramAdornerBase
Inheritance: objectDiagramAdornerBaseDrawingAdorner
Inherited Members
Constructors
Initializes a new instance of the DrawingAdorner class.
public DrawingAdorner()
Fields
FillProperty
DependencyProperty
Registers the Fill attached property.
public static readonly DependencyProperty FillProperty
FillRuleProperty
DependencyProperty
Registers the FillRule attached property.
public static readonly DependencyProperty FillRuleProperty
IsShapeClosedProperty
DependencyProperty
Registers the IsShapeClosed attached property.
public static readonly DependencyProperty IsShapeClosedProperty
IsShapeFilledProperty
DependencyProperty
Registers the IsShapeFilled attached property.
public static readonly DependencyProperty IsShapeFilledProperty
StrokeProperty
DependencyProperty
Registers the Stroke attached property.
public static readonly DependencyProperty StrokeProperty
StrokeThicknessProperty
DependencyProperty
Registers the StrokeThickness attached property.
public static readonly DependencyProperty StrokeThicknessProperty
Properties
Gets or sets the hosting diagram.
public override RadDiagram Diagram { get; set; }
Overrides:
Gets or sets the drawing service.
public IDrawingService DrawingService { get; }
Methods
Gets the fill.
public static Brush GetFill(DependencyObject obj)
Brush
GetFillRule(DependencyObject)
FillRule
Gets the fill rule.
public static FillRule GetFillRule(DependencyObject obj)
FillRule
Gets the IsShapeClosed.
public static bool GetIsShapeClosed(DependencyObject obj)
Gets the IsShapeFilled.
public static bool GetIsShapeFilled(DependencyObject obj)
The object.
Returns:Gets the stroke.
public static Brush GetStroke(DependencyObject obj)
Brush
Gets the stroke thickness.
public static double GetStrokeThickness(DependencyObject obj)
public override void OnApplyTemplate()
Sets the fill.
public static void SetFill(DependencyObject obj, Brush value)
Sets the fill rule.
public static void SetFillRule(DependencyObject obj, FillRule value)
Sets the IsShapeClosed.
public static void SetIsShapeClosed(DependencyObject obj, bool value)
Sets the IsShapeFilled.
public static void SetIsShapeFilled(DependencyObject obj, bool value)
Sets the stroke.
public static void SetStroke(DependencyObject obj, Brush value)
Sets the stroke thickness.
public static void SetStrokeThickness(DependencyObject obj, double value)