Class DiagramItemStyle
Represents a class to define style releated properties, values for theme styles of SfDiagram class and its objects.
Inheritance
Namespace: Syncfusion.UI.Xaml.Diagram.Theming
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class DiagramItemStyle : Object, IDiagramItemStyle, INotifyPropertyChanged
Constructors
DiagramItemStyle()
Declaration
public DiagramItemStyle()
Properties
Fill
Gets or sets fille color vlaue of style.
Declaration
public Brush Fill { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
FillOpacity
Gets or sets fill color opacity value of style.
Declaration
public double FillOpacity { get; set; }
Property Value
Type |
---|
System.Double |
FillRule
Gets or sets the fill color rule value of style.
Declaration
public FillRule FillRule { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.FillRule |
FontFamily
Gets or sets font family value of style.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.FontFamily |
FontSize
Gets or sets font size value of style.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
Foreground
Gets or sets font or text color value of style.
Declaration
public Brush Foreground { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Stroke
Gets or sets stroke color value of style.
Declaration
public Brush Stroke { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
StrokeDashArray
Gets or sets stroke lines gap value of style.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.DoubleCollection |
StrokeLineCap
Gets or sets stroke line cap value of style.
Declaration
public PenLineCap StrokeLineCap { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.PenLineCap |
StrokeLineJoin
Gets or sets stroke line join type value of style.
Declaration
public PenLineJoin StrokeLineJoin { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.PenLineJoin |
StrokeMiterLimit
Gets or sets stroke line miter limit value of style.
Declaration
public double StrokeMiterLimit { get; set; }
Property Value
Type |
---|
System.Double |
StrokeOpacity
Gets or sets stroke line color opacity value of style.
Declaration
public double StrokeOpacity { get; set; }
Property Value
Type |
---|
System.Double |
StrokeThickness
Gets or sets stroke line thickness value of style.
Declaration
public double StrokeThickness { get; set; }
Property Value
Type |
---|
System.Double |
Methods
OnPropertyChanged(String)
Event can indicate all properties on the DiagramItemStyle class that have changed.
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Gets property name. |
Events
PropertyChanged
Property changed event for DiagramItemStyle class.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |