Class GradientStop
Describes the location and color of a transition point in a gradient.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class GradientStop : DependencyObject
Fields
| Improve this Doc View SourceColorProperty
Identifies the Color dependency property.
Declaration
public static readonly DependencyProperty ColorProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OffsetProperty
Identifies the Offset dependency property.
Declaration
public static readonly DependencyProperty OffsetProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceColor
Gets or sets the color of the gradient stop.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Offset
Gets the location of the gradient stop within the gradient vector.
Declaration
public double Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceClone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
IsAlreadyAClone()
Declaration
public bool IsAlreadyAClone()
Returns
Type | Description |
---|---|
System.Boolean |