Class
DrawingAdorner

Represents a drawing adorner.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Primitives

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

cs-api-definition
public class DrawingAdorner : DiagramAdornerBase

Inheritance: objectDiagramAdornerBaseDrawingAdorner

Inherited Members DiagramAdornerBase.ResetTheme()DiagramAdornerBase.OnInitialized(EventArgs)DiagramAdornerBase.PositionDiagramAdornerBase.Rotation

Constructors

DrawingAdorner()

Initializes a new instance of the DrawingAdorner class.

Declaration

cs-api-definition
public DrawingAdorner()

Fields

FillProperty

Registers the Fill attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty FillProperty

Field Value

DependencyProperty

FillRuleProperty

Registers the FillRule attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty FillRuleProperty

Field Value

DependencyProperty

IsShapeClosedProperty

Registers the IsShapeClosed attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsShapeClosedProperty

Field Value

DependencyProperty

IsShapeFilledProperty

Registers the IsShapeFilled attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsShapeFilledProperty

Field Value

DependencyProperty

StrokeProperty

Registers the Stroke attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty StrokeProperty

Field Value

DependencyProperty

StrokeThicknessProperty

Registers the StrokeThickness attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty StrokeThicknessProperty

Field Value

DependencyProperty

Properties

Diagram

Gets or sets the hosting diagram.

Declaration

cs-api-definition
public override RadDiagram Diagram { get; set; }

Property Value

RadDiagram

Overrides DiagramAdornerBase.Diagram

DrawingService

Gets or sets the drawing service.

Declaration

cs-api-definition
public IDrawingService DrawingService { get; }

Property Value

IDrawingService

Methods

GetFill(DependencyObject)

Gets the fill.

Declaration

cs-api-definition
public static Brush GetFill(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Brush

GetFillRule(DependencyObject)

Gets the fill rule.

Declaration

cs-api-definition
public static FillRule GetFillRule(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

FillRule

GetIsShapeClosed(DependencyObject)

Gets the IsShapeClosed.

Declaration

cs-api-definition
public static bool GetIsShapeClosed(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

bool

GetIsShapeFilled(DependencyObject)

Gets the IsShapeFilled.

Declaration

cs-api-definition
public static bool GetIsShapeFilled(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

bool

GetStroke(DependencyObject)

Gets the stroke.

Declaration

cs-api-definition
public static Brush GetStroke(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Brush

GetStrokeThickness(DependencyObject)

Gets the stroke thickness.

Declaration

cs-api-definition
public static double GetStrokeThickness(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

SetFill(DependencyObject, Brush)

Sets the fill.

Declaration

cs-api-definition
public static void SetFill(DependencyObject obj, Brush value)

Parameters

obj

DependencyObject

value

Brush

SetFillRule(DependencyObject, FillRule)

Sets the fill rule.

Declaration

cs-api-definition
public static void SetFillRule(DependencyObject obj, FillRule value)

Parameters

obj

DependencyObject

value

FillRule

SetIsShapeClosed(DependencyObject, bool)

Sets the IsShapeClosed.

Declaration

cs-api-definition
public static void SetIsShapeClosed(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

value

bool

SetIsShapeFilled(DependencyObject, bool)

Sets the IsShapeFilled.

Declaration

cs-api-definition
public static void SetIsShapeFilled(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

value

bool

SetStroke(DependencyObject, Brush)

Sets the stroke.

Declaration

cs-api-definition
public static void SetStroke(DependencyObject obj, Brush value)

Parameters

obj

DependencyObject

value

Brush

SetStrokeThickness(DependencyObject, double)

Sets the stroke thickness.

Declaration

cs-api-definition
public static void SetStrokeThickness(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double