In This Article

RatingPanel Class

Represents a Panel for arranging items in a Rating.

public class RatingPanel : StackPanel
Inheritance:
object Visual UIElement FrameworkElement Panel StackPanel object

Constructors

RatingPanel()

Initializes an instance of the class.

public RatingPanel()

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.

OnIsItemsHostChanged(bool, bool)

Occurs when the IsItemsHost property changes.

protected override void OnIsItemsHostChanged(bool oldIsItemsHost, bool newIsItemsHost)
Parameter Type Description
oldIsItemsHost bool

The old value.

newIsItemsHost bool

The new value.