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 the content of a StackPanel element.

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

Returns

Size:

The System.Windows.Size that represents the arranged size of this StackPanel element and its child elements.

MeasureOverride(Size)

Measures the child elements of a StackPanel in anticipation of arranging them during the ArrangeOverride(Size) pass.

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

Returns

Size:

The System.Windows.Size that represents the desired size of the element.

OnIsItemsHostChanged(bool, bool)

Indicates that the IsItemsHost property value has changed.

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

The old property value.

newIsItemsHost bool

The new property value.

Extension Methods