[]
        
(Showing Draft Content)

C1.WPF.Extended.C1CheckeredBorder

C1CheckeredBorder Class

Border that display a color over a checkered pattern that is visible when a semi-transparent color is set, allowing the user to distinguish easily between clear and transparent colors.

Namespace: C1.WPF.Extended
Assembly: C1.WPF.Extended.4.6.2.dll
Syntax
[TemplatePart(Name = "Background", Type = typeof(Canvas))]
public class C1CheckeredBorder : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1CheckeredBorder()

Initializes a new instance of a C1CheckeredBorder.

Fields

Name Description
AlternatingSquareBrushProperty

Identifies the AlternatingSquareBrush dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

SquareBrushProperty

Identifies the SquareBrush dependency property.

SquareWidthProperty

Identifies the SquareWidth dependency property.

Properties

Name Description
AlternatingSquareBrush

Gets or sets the brush used to draw the alternating squares in background.

CornerRadius

Gets or sets the radius of the corners.

SquareBrush

Gets or sets the brush used to draw the squares in background.

SquareWidth

Gets or sets the width of the squares in background.

Methods

Name Description
OnApplyTemplate()

Builds the visual tree for the C1CheckeredBorder control when a new template is applied.

Events

Name Description
AlternatingSquareBrushChanged

Event raised when the AlternatingSquareBrush property has changed.

SquareBrushChanged

Event raised when the SquareBrush property has changed.

SquareWidthChanged

Event raised when the SquareWidth property has changed.