# C1.WPF.Chart.FlexPie

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_FlexPie" data-uid="C1.WPF.Chart.FlexPie" class="text-break">FlexPie Class
</h1>
  <div class="markdown level0 summary"><p>The FlexPie control.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><a class="xref" href="C1.WPF.Chart.FlexChartBase.html">FlexChartBase</a></div>
    <div class="level6"><span class="xref">FlexPie</span></div>
      <div class="level7"><a class="xref" href="C1.WPF.Chart.C1Sunburst.html">C1Sunburst</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><span class="xref">IMetricProvider</span></div>
    <div><span class="xref">IPieChart</span></div>
    <div><span class="xref">IChartBase</span></div>
    <div><span class="xref">IStyleProvider</span></div>
    <div><span class="xref">IPalette</span></div>
    <div><span class="xref">IBrushConverter</span></div>
    <div><span class="xref">IMultiPieChart</span></div>
    <div><span class="xref">IAnimatedPieChart</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.html">C1.WPF.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Chart.dll</h6>
  <h5 id="C1_WPF_Chart_FlexPie_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;canvas&quot;, Type = typeof(PieCanvas))]
public class FlexPie : FlexChartBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IMetricProvider, IPieChart, IChartBase, IStyleProvider, IPalette, IBrushConverter, IMultiPieChart, IAnimatedPieChart</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;canvas&quot;, Type:=GetType(PieCanvas))&gt;
Public Class FlexPie
    Inherits FlexChartBase
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IMetricProvider, IPieChart, IChartBase, IStyleProvider, IPalette, IBrushConverter, IMultiPieChart, IAnimatedPieChart</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_FlexPie__ctor" data-uid="C1.WPF.Chart.FlexPie.#ctor">
          <a class="xref" href="C1.WPF.Chart.FlexPie.-ctor.html#C1_WPF_Chart_FlexPie__ctor">FlexPie()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of FlexChart.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_BindingNameProperty" data-uid="C1.WPF.Chart.FlexPie.BindingNameProperty">
          <a class="xref" href="C1.WPF.Chart.FlexPie.BindingNameProperty.html">BindingNameProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the BindingName dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_InnerRadiusProperty" data-uid="C1.WPF.Chart.FlexPie.InnerRadiusProperty">
          <a class="xref" href="C1.WPF.Chart.FlexPie.InnerRadiusProperty.html">InnerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the InnerRadius dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_OffsetProperty" data-uid="C1.WPF.Chart.FlexPie.OffsetProperty">
          <a class="xref" href="C1.WPF.Chart.FlexPie.OffsetProperty.html">OffsetProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Offset dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_ReversedProperty" data-uid="C1.WPF.Chart.FlexPie.ReversedProperty">
          <a class="xref" href="C1.WPF.Chart.FlexPie.ReversedProperty.html">ReversedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Reversed dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_SelectedItemOffsetProperty" data-uid="C1.WPF.Chart.FlexPie.SelectedItemOffsetProperty">
          <a class="xref" href="C1.WPF.Chart.FlexPie.SelectedItemOffsetProperty.html">SelectedItemOffsetProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SelectedItemOffset dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_SelectedItemPositionProperty" data-uid="C1.WPF.Chart.FlexPie.SelectedItemPositionProperty">
          <a class="xref" href="C1.WPF.Chart.FlexPie.SelectedItemPositionProperty.html">SelectedItemPositionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SelectedItemPosition dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_StartAngleProperty" data-uid="C1.WPF.Chart.FlexPie.StartAngleProperty">
          <a class="xref" href="C1.WPF.Chart.FlexPie.StartAngleProperty.html">StartAngleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the StartAngle dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_AnimationLoad" data-uid="C1.WPF.Chart.FlexPie.AnimationLoad">
          <a class="xref" href="C1.WPF.Chart.FlexPie.AnimationLoad.html#C1_WPF_Chart_FlexPie_AnimationLoad">AnimationLoad</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the options for load animatiom.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_AnimationSettings" data-uid="C1.WPF.Chart.FlexPie.AnimationSettings">
          <a class="xref" href="C1.WPF.Chart.FlexPie.AnimationSettings.html#C1_WPF_Chart_FlexPie_AnimationSettings">AnimationSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the animation settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_AnimationUpdate" data-uid="C1.WPF.Chart.FlexPie.AnimationUpdate">
          <a class="xref" href="C1.WPF.Chart.FlexPie.AnimationUpdate.html#C1_WPF_Chart_FlexPie_AnimationUpdate">AnimationUpdate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the options for update animatiom.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_BindingName" data-uid="C1.WPF.Chart.FlexPie.BindingName">
          <a class="xref" href="C1.WPF.Chart.FlexPie.BindingName.html#C1_WPF_Chart_FlexPie_BindingName">BindingName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property that contains the name of the data item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_CanShowTooltip" data-uid="C1.WPF.Chart.FlexPie.CanShowTooltip">
          <a class="xref" href="C1.WPF.Chart.FlexPie.CanShowTooltip.html#C1_WPF_Chart_FlexPie_CanShowTooltip">CanShowTooltip</a>
        </td>
        <td class="markdown level1 summary"><p>Whether tooltip can be displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_DataLabel" data-uid="C1.WPF.Chart.FlexPie.DataLabel">
          <a class="xref" href="C1.WPF.Chart.FlexPie.DataLabel.html#C1_WPF_Chart_FlexPie_DataLabel">DataLabel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data label.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_InnerRadius" data-uid="C1.WPF.Chart.FlexPie.InnerRadius">
          <a class="xref" href="C1.WPF.Chart.FlexPie.InnerRadius.html#C1_WPF_Chart_FlexPie_InnerRadius">InnerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of the pie's inner radius.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_Offset" data-uid="C1.WPF.Chart.FlexPie.Offset">
          <a class="xref" href="C1.WPF.Chart.FlexPie.Offset.html#C1_WPF_Chart_FlexPie_Offset">Offset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the offset of the slices from the pie center.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_Reversed" data-uid="C1.WPF.Chart.FlexPie.Reversed">
          <a class="xref" href="C1.WPF.Chart.FlexPie.Reversed.html#C1_WPF_Chart_FlexPie_Reversed">Reversed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether angles are reversed (counter-clockwise).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_SelectedItemOffset" data-uid="C1.WPF.Chart.FlexPie.SelectedItemOffset">
          <a class="xref" href="C1.WPF.Chart.FlexPie.SelectedItemOffset.html#C1_WPF_Chart_FlexPie_SelectedItemOffset">SelectedItemOffset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the offset of the selected slice from the pie center.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_SelectedItemPosition" data-uid="C1.WPF.Chart.FlexPie.SelectedItemPosition">
          <a class="xref" href="C1.WPF.Chart.FlexPie.SelectedItemPosition.html#C1_WPF_Chart_FlexPie_SelectedItemPosition">SelectedItemPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of the selected slice.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_StartAngle" data-uid="C1.WPF.Chart.FlexPie.StartAngle">
          <a class="xref" href="C1.WPF.Chart.FlexPie.StartAngle.html#C1_WPF_Chart_FlexPie_StartAngle">StartAngle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting angle for the pie slices, in degrees.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_Titles" data-uid="C1.WPF.Chart.FlexPie.Titles">
          <a class="xref" href="C1.WPF.Chart.FlexPie.Titles.html#C1_WPF_Chart_FlexPie_Titles">Titles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the pie titles.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_Bind" data-uid="C1.WPF.Chart.FlexPie.Bind">
          <a class="xref" href="C1.WPF.Chart.FlexPie.Bind.html#C1_WPF_Chart_FlexPie_Bind">Bind()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs data binding.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_GetContent_C1_Chart_HitTestInfo_System_String_" data-uid="C1.WPF.Chart.FlexPie.GetContent(C1.Chart.HitTestInfo,System.String)">
          <a class="xref" href="C1.WPF.Chart.FlexPie.GetContent.html#C1_WPF_Chart_FlexPie_GetContent_C1_Chart_HitTestInfo_System_String_">GetContent(HitTestInfo, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the content by specified template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_HitTest_System_Windows_Point_" data-uid="C1.WPF.Chart.FlexPie.HitTest(System.Windows.Point)">
          <a class="xref" href="C1.WPF.Chart.FlexPie.HitTest.html#C1_WPF_Chart_FlexPie_HitTest_System_Windows_Point_">HitTest(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a HitTestInfo object with information about the specified point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_Invalidate" data-uid="C1.WPF.Chart.FlexPie.Invalidate">
          <a class="xref" href="C1.WPF.Chart.FlexPie.Invalidate.html#C1_WPF_Chart_FlexPie_Invalidate">Invalidate()</a>
        </td>
        <td class="markdown level1 summary"><p>Invalidates the chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_OnApplyTemplate" data-uid="C1.WPF.Chart.FlexPie.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Chart.FlexPie.OnApplyTemplate.html#C1_WPF_Chart_FlexPie_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when applying control template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_OnItemsSourceChanged_System_Object_" data-uid="C1.WPF.Chart.FlexPie.OnItemsSourceChanged(System.Object)">
          <a class="xref" href="C1.WPF.Chart.FlexPie.OnItemsSourceChanged.html#C1_WPF_Chart_FlexPie_OnItemsSourceChanged_System_Object_">OnItemsSourceChanged(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_OnMouseDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.Chart.FlexPie.OnMouseDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.Chart.FlexPie.OnMouseDown.html#C1_WPF_Chart_FlexPie_OnMouseDown_System_Windows_Input_MouseButtonEventArgs_">OnMouseDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked during mouse down event.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_LabelRendered" data-uid="C1.WPF.Chart.FlexPie.LabelRendered">
          <a class="xref" href="C1.WPF.Chart.FlexPie.LabelRendered.html">LabelRendered</a>
        </td>
        <td class="markdown level1 summary"><p>Fires after rendering label.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_LabelRendering" data-uid="C1.WPF.Chart.FlexPie.LabelRendering">
          <a class="xref" href="C1.WPF.Chart.FlexPie.LabelRendering.html">LabelRendering</a>
        </td>
        <td class="markdown level1 summary"><p>Fires before rendering label.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_SliceRendered" data-uid="C1.WPF.Chart.FlexPie.SliceRendered">
          <a class="xref" href="C1.WPF.Chart.FlexPie.SliceRendered.html">SliceRendered</a>
        </td>
        <td class="markdown level1 summary"><p>Fires after rendering slice.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_FlexPie_SliceRendering" data-uid="C1.WPF.Chart.FlexPie.SliceRendering">
          <a class="xref" href="C1.WPF.Chart.FlexPie.SliceRendering.html">SliceRendering</a>
        </td>
        <td class="markdown level1 summary"><p>Fires before rendering slice.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
