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