Table of Contents

Class SeparatorStyle

Namespace
Myra.Graphics2D.UI.Styles
Assembly
Myra.dll

Style class that defines the visual appearance of separator widgets.

public class SeparatorStyle : ImageStyle
Inheritance
SeparatorStyle
Inherited Members

Constructors

SeparatorStyle()

Initializes a new instance of the SeparatorStyle class.

public SeparatorStyle()

SeparatorStyle(SeparatorStyle)

Initializes a new instance of the SeparatorStyle class by copying properties from another style.

public SeparatorStyle(SeparatorStyle style)

Parameters

style SeparatorStyle

The source separator style to copy from.

Properties

Thickness

Gets or sets the thickness of the separator line in pixels.

public int Thickness { get; set; }

Property Value

int

Methods

Clone()

Creates a deep copy of this separator style.

public override WidgetStyle Clone()

Returns

WidgetStyle

A new SeparatorStyle instance with the same properties.