csharp
public sealed class ColorStripA strip that a drag moves along: the hue band, or the alpha band.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public ColorChannel ChannelWhich one it is.
public ColorPicker? OwnerThe picker it belongs to.
public float FractionWhere the marker is, from zero at the left to one at the right.
Events (1)
public Action<ColorStrip, float>? MovedRaised while it is being dragged.
Methods (2)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
protected override void OnDraw(DrawContext context)Draws whatever this element is, beyond what a stylesheet can describe.
Used by (3)
- ColorPickerVixen.Ui.Controls.Advanced
- ColorSwatchVixen.Ui.Controls.Advanced
- GradientBarVixen.Ui.Controls.Advanced