IPieSliceStyleSelector Interface
Provides the base requirements for a class that determines how a pie slice will be styled.
[TypeConverter(typeof(PieSliceStyleSelectorConverter))]
public interface IPieSliceStyleSelector
Methods
SelectChildPieSliceStyle(int, int, Color, Style)
Selects the child pie slice style.
The Style must have TargetType of PieSlice.
Style SelectChildPieSliceStyle(int pieSliceIndex, int pieSliceCount, Color parentFill, Style defaultStyle)
| Parameter | Type | Description |
|---|---|---|
| pieSliceIndex | int | Index of the pie slice. |
| pieSliceCount | int | The pie slice count. |
| parentFill | Color | The parent fill color. |
| defaultStyle | Style | The default style. |
Returns
SelectPieSliceStyle(int, int, Style)
Selects the pie slice style.
The Style must have TargetType of PieSlice.