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
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

Suspends path updates until EndUpdate is called;
public BeginUpdate ( ) : void
Résultat void

EndUpdate() public méthode

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

RingSlice() public méthode

Initializes a new instance of the RingSlice class.
public RingSlice ( ) : System
Résultat System

Property Details

CenterProperty public_oe static_oe property

Center Dependency Property
public static DependencyProperty,Windows.UI.Xaml CenterProperty
Résultat Windows.UI.Xaml.DependencyProperty

EndAngleProperty public_oe static_oe property

The end angle property.
public static DependencyProperty,Windows.UI.Xaml EndAngleProperty
Résultat Windows.UI.Xaml.DependencyProperty

InnerRadiusProperty public_oe static_oe property

The inner radius property
public static DependencyProperty,Windows.UI.Xaml InnerRadiusProperty
Résultat Windows.UI.Xaml.DependencyProperty

RadiusProperty public_oe static_oe property

The radius property
public static DependencyProperty,Windows.UI.Xaml RadiusProperty
Résultat Windows.UI.Xaml.DependencyProperty

StartAngleProperty public_oe static_oe property

The start angle property.
public static DependencyProperty,Windows.UI.Xaml StartAngleProperty
Résultat Windows.UI.Xaml.DependencyProperty