ClassDrawingAdorner
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
DrawingAdorner()
Initializes a new instance of the DrawingAdorner class.
Declaration
public DrawingAdorner()
Fields
FillProperty
Registers the Fill attached property.
Declaration
public static readonly DependencyProperty FillProperty
Field Value
DependencyProperty
FillRuleProperty
Registers the FillRule attached property.
Declaration
public static readonly DependencyProperty FillRuleProperty
Field Value
DependencyProperty
IsShapeClosedProperty
Registers the IsShapeClosed attached property.
Declaration
public static readonly DependencyProperty IsShapeClosedProperty
Field Value
DependencyProperty
IsShapeFilledProperty
Registers the IsShapeFilled attached property.
Declaration
public static readonly DependencyProperty IsShapeFilledProperty
Field Value
DependencyProperty
StrokeProperty
Registers the Stroke attached property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
DependencyProperty
StrokeThicknessProperty
Registers the StrokeThickness attached property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
DependencyProperty
Properties
Diagram
Gets or sets the hosting diagram.
Declaration
public override RadDiagram Diagram { get; set; }
Property Value
Overrides
DrawingService
Gets or sets the drawing service.
Declaration
public IDrawingService DrawingService { get; }
Property Value
Methods
GetFill(DependencyObject)
Gets the fill.
Declaration
public static Brush GetFill(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
Brush
GetFillRule(DependencyObject)
Gets the fill rule.
Declaration
public static FillRule GetFillRule(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
FillRule
GetIsShapeClosed(DependencyObject)
Gets the IsShapeClosed.
Declaration
public static bool GetIsShapeClosed(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetIsShapeFilled(DependencyObject)
Gets the IsShapeFilled.
Declaration
public static bool GetIsShapeFilled(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
GetStroke(DependencyObject)
Gets the stroke.
Declaration
public static Brush GetStroke(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
Brush
GetStrokeThickness(DependencyObject)
Gets the stroke thickness.
Declaration
public static double GetStrokeThickness(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
SetFill(DependencyObject, Brush)
Sets the fill.
Declaration
public static void SetFill(DependencyObject obj, Brush value)
Parameters
obj
DependencyObject
value
Brush
SetFillRule(DependencyObject, FillRule)
Sets the fill rule.
Declaration
public static void SetFillRule(DependencyObject obj, FillRule value)
Parameters
obj
DependencyObject
value
FillRule
SetIsShapeClosed(DependencyObject, bool)
Sets the IsShapeClosed.
Declaration
public static void SetIsShapeClosed(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value
SetIsShapeFilled(DependencyObject, bool)
Sets the IsShapeFilled.
Declaration
public static void SetIsShapeFilled(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value
SetStroke(DependencyObject, Brush)
Sets the stroke.
Declaration
public static void SetStroke(DependencyObject obj, Brush value)
Parameters
obj
DependencyObject
value
Brush
SetStrokeThickness(DependencyObject, double)
Sets the stroke thickness.
Declaration
public static void SetStrokeThickness(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value