Back to Devexpress

PieHintStyle Class

mobilecontrols-devexpress-dot-xamarinforms-dot-charts-93b85df1.md

latest2.8 KB
Original Source

PieHintStyle Class

Stores the appearance settings of pie chart hints.

Namespace : DevExpress.XamarinForms.Charts

Assembly : DevExpress.XamarinForms.Charts.dll

NuGet Package : DevExpress.XamarinForms.Charts

Declaration

csharp
public class PieHintStyle :
    HintStyleBase

The following members return PieHintStyle objects:

Example

This example shows how to customize the appearance of pie chart hints. To do this, assign a PieHintStyle object with the specified properties to the PieHint.Style property:

xml
<dxc:PieChartView>
    <dxc:PieChartView.Hint>
        <dxc:PieHint Enabled="True" ShowMode="OnTap">
            <dxc:PieHint.Style>
                <dxc:PieHintStyle BackgroundColor="#424651"
                                  MarkerSize="30"
                                  Padding="15,15,10,10"
                                  TextIndent="20"/>
            </dxc:PieHint.Style>
        </dxc:PieHint>
    </dxc:PieChartView.Hint>
</dxc:PieChartView>

Use the following properties of the PieHintStyle object to configure the hint appearance:

|

Property

|

Description

| | --- | --- | |

BackgroundColor

|

Gets or sets the hint label’s background color.

| |

Padding

|

Gets or sets the hint’s label padding.

| |

MarkerSize

|

Gets or sets the hint’s marker size.

| |

TextIndent

|

Gets or sets the indent between a hint marker and text.

|

Implements

INotifyPropertyChanged

Inheritance

Object ChartElement StyleBase TextElementStyleBase HintStyleBase PieHintStyle

See Also

PieHintStyle Members

DevExpress.XamarinForms.Charts Namespace