C# Class WinRTXamlToolkit.Controls.PieSlice

A path that represents a pie slice with a given Radius, StartAngle and EndAngle.
Inheritance: Windows.UI.Xaml.Shapes.Path
Datei anzeigen Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
EndAngleProperty Windows.UI.Xaml.DependencyProperty
RadiusProperty Windows.UI.Xaml.DependencyProperty
StartAngleProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
BeginUpdate ( ) : void

Suspends path updates until EndUpdate is called;

EndUpdate ( ) : void

Resumes immediate path updates every time a component property value changes. Updates the path.

PieSlice ( ) : System

Initializes a new instance of the PieSlice class.

Private Methods

Method Description
OnEndAngleChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnEndAngleChanged ( double oldEndAngle, double newEndAngle ) : void
OnRadiusChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnRadiusChanged ( double oldRadius, double newRadius ) : void
OnSizeChanged ( object sender, SizeChangedEventArgs e ) : void
OnStartAngleChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnStartAngleChanged ( double oldStartAngle, double newStartAngle ) : void
OnStrokeThicknessChanged ( object sender, double e ) : void
UpdatePath ( ) : void

Method Details

BeginUpdate() public method

Suspends path updates until EndUpdate is called;
public BeginUpdate ( ) : void
return void

EndUpdate() public method

Resumes immediate path updates every time a component property value changes. Updates the path.
public EndUpdate ( ) : void
return void

PieSlice() public method

Initializes a new instance of the PieSlice class.
public PieSlice ( ) : System
return System

Property Details

EndAngleProperty public_oe static_oe property

The end angle property.
public static DependencyProperty,Windows.UI.Xaml EndAngleProperty
return Windows.UI.Xaml.DependencyProperty

RadiusProperty public_oe static_oe property

The radius property.
public static DependencyProperty,Windows.UI.Xaml RadiusProperty
return Windows.UI.Xaml.DependencyProperty

StartAngleProperty public_oe static_oe property

The start angle property
public static DependencyProperty,Windows.UI.Xaml StartAngleProperty
return Windows.UI.Xaml.DependencyProperty