Summary
Describes the location and color of a transition point in a gradient.
- Namespace
- Avalonia
.Media - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- IGradientStop
- Base Types
-
- object
- AvaloniaObject
graph BT
Type-->Base0["AvaloniaObject"]
click Base0 "/api/Avalonia/AvaloniaObject"
Base0-->Base1["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type-.->Interface4["IGradientStop"]
click Interface4 "/api/Avalonia.Media/IGradientStop"
Type["GradientStop"]
class Type type-node
Syntax
public sealed class GradientStop : AvaloniaObject, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink, IGradientStop
Constructors
Name | Summary |
---|---|
GradientStop |
Initializes a new instance of the GradientStop class.
|
GradientStop |
Initializes a new instance of the GradientStop class.
|
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Fields
Name | Constant Value | Summary |
---|---|---|
ColorProperty |
Describes the
Color property.
static
|
|
OffsetProperty |
Describes the
Offset property.
static
|
Properties
Name | Value | Summary |
---|---|---|
Color | Color |
Gets the gradient stop color.
|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
Offset | double |
Gets the gradient stop offset.
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|