In This Article

GradientStopSliderPanel Class

Represents a Panel for arranging thumbs in a GradientStopSlider.

public class GradientStopSliderPanel : Panel
Inheritance:
object Visual UIElement FrameworkElement Panel object

Constructors

GradientStopSliderPanel()

Initializes an instance of the class.

public GradientStopSliderPanel()

Methods

ArrangeOverride(Size)

Arranges and performs layout on children given a size to layout within.

protected override Size ArrangeOverride(Size finalSize)
Parameter Type Description
finalSize Size

The size Panel is suggested to occupy for layout.

Returns

Size:

The size Panel occupies after layout.

MeasureOverride(Size)

Measures all children given an available size and returns its desired size based on the size of its children.

protected override Size MeasureOverride(Size availableSize)
Parameter Type Description
availableSize Size

The size the Panel is suggested to fit inside.

Returns

Size:

The desired size of the Panel.