Table of Contents

Class Fill<TCopyable>

Namespace
ComfileTech.jControlsNF4
Assembly
ComfileTech.jControlsNF4.dll

Base class encapsulating properties for coloring the interior of a control.

public abstract class Fill<TCopyable> : IAppearance<TCopyable>, INotifyPropertyChanged, ICopyable<TCopyable> where TCopyable : Fill<TCopyable>, new()

Type Parameters

TCopyable
Inheritance
Fill<TCopyable>
Implements
IAppearance<TCopyable>
ICopyable<TCopyable>
Derived

Constructors

Fill()

Creates a new instance of this class with default values.

Properties

BrushType

The type of fill.

Color1

The color for a solid-color stroke, or the start color of a gradient stroke.

Color1Point

The location in the control's coordinates to start the gradient. If ScaleGradient is true, the values are interpreted as a percentage of the width and height of the control.

Color2

The end color of a gradient stroke.

Color2Point

The location in the control's coordinates to end the gradient. If ScaleGradient is true, the values are interpreted as a percentage of the width and height of the control.

ScaleGradient

If true, this will cause the gradient to scale with the width and height of the control.

Methods

CopyFrom(TCopyable)

Copies all properties from source to this instance.

OnPropertyChanged(string)

Fires the PropertyChanged event.

Events

PropertyChanged

Signals that a property in this object has changed.