Utils.GradientStopItem
Back to home | Back to Reference | View raw text
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi.Utils
SolidShineUi.Utils.GradientStopItem[[GradientStopItem]]
end
subgraph System.Windows.Markup
System.Windows.Markup.IComponentConnector[[IComponentConnector]]
end
subgraph System.Windows.Controls
System.Windows.Controls.UserControl[[UserControl]]
end
System.Windows.Markup.IComponentConnector --> SolidShineUi.Utils.GradientStopItem
System.Windows.Controls.UserControl --> SolidShineUi.Utils.GradientStopItem
Type | Name | Methods |
---|---|---|
bool |
ClickOnPress Gets or sets whether the Click event should be raised when the checkbox is pressed, rather than when it is released. |
get, set |
Color |
Color Get or set the color for this gradient stop. |
get, set |
GradientStop |
GradientStop Get or set the gradient stop for this GradientStopItem. |
get, set |
bool |
IsSelected Get or set whether this gradient stop is selected for editing. |
get, set |
double |
Offset Get or set the offset value for this gradient stop. The offset determines how far along the gradient this stop occurs. |
get, set |
Brush |
StopFill Get or set the brush used for the background of the gradient stop glyph. |
get, set |
Brush |
StopSelectedFill Get or set the brush used for the background of the stop glyph while it is selected (i.e. the IsSelected property is true). |
get, set |
Returns | Name |
---|---|
void |
DoClick ()Perform a click programattically. The checkbox responds the same way as if it was clicked by the user. |
void |
InitializeComponent ()InitializeComponent |
IComponentConnector
UserControl
public GradientStopItem()
Create a GradientStopItem, with default property values.
public GradientStopItem(double offset, Color color)
Type | Name | Description |
---|---|---|
double |
offset | The offset from the gradient's start point where this stop appears. |
Color |
color | The color of this gradient stop. |
Create a GradientStopItem, with preset property values.
public GradientStopItem(GradientStop stop)
Type | Name | Description |
---|---|---|
GradientStop |
stop | The GradientStop to load property values from. |
Create a GradientStopItem, generated from a GradientStop.
public void DoClick()
Perform a click programattically. The checkbox responds the same way as if it was clicked by the user.
public virtual void InitializeComponent()
InitializeComponent
public GradientStop GradientStop { get; set; }
Get or set the gradient stop for this GradientStopItem.
public double Offset { get; set; }
Get or set the offset value for this gradient stop. The offset determines how far along the gradient this stop occurs.
public Color Color { get; set; }
Get or set the color for this gradient stop.
public bool IsSelected { get; set; }
Get or set whether this gradient stop is selected for editing.
public Brush StopFill { get; set; }
Get or set the brush used for the background of the gradient stop glyph.
public Brush StopSelectedFill { get; set; }
Get or set the brush used for the background of the stop glyph while it is selected
(i.e. the IsSelected
property is true).
public bool ClickOnPress { get; set; }
Gets or sets whether the Click event should be raised when the checkbox is pressed, rather than when it is released.
public event RoutedEventHandler Click
Raised when the check box is clicked.
public event RoutedEventHandler RightClick
Raised when the check box is right-clicked.
Generated with ModularDoc