C# Class WinRTXamlToolkit.Controls.RingSlice

A Path that represents a ring slice with a given (outer) Radius, InnerRadius, StartAngle, EndAngle and Center.
Inheritance: Windows.UI.Xaml.Shapes.Path
Exibir arquivo Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
CenterProperty Windows.UI.Xaml.DependencyProperty
EndAngleProperty Windows.UI.Xaml.DependencyProperty
InnerRadiusProperty 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.

RingSlice ( ) : System

Initializes a new instance of the RingSlice class.

Private Methods

Method Description
OnCenterChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Center property.

OnCenterChanged ( Point oldCenter, Point newCenter ) : void

Provides derived classes an opportunity to handle changes to the Center property.

OnEndAngleChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnEndAngleChanged ( double oldEndAngle, double newEndAngle ) : void
OnInnerRadiusChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnInnerRadiusChanged ( double oldInnerRadius, double newInnerRadius ) : void
OnRadiusChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnRadiusChanged ( double oldRadius, double newRadius ) : void
OnSizeChanged ( object sender, SizeChangedEventArgs sizeChangedEventArgs ) : 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

RingSlice() public method

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

Property Details

CenterProperty public_oe static_oe property

Center Dependency Property
public static DependencyProperty,Windows.UI.Xaml CenterProperty
return Windows.UI.Xaml.DependencyProperty

EndAngleProperty public_oe static_oe property

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

InnerRadiusProperty public_oe static_oe property

The inner radius property
public static DependencyProperty,Windows.UI.Xaml InnerRadiusProperty
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