C# Class RadialMenuControl.UserControl.PieSlice

Inheritance: Windows.UI.Xaml.Controls.UserControl
Afficher le fichier Open project: CatalystCode/radial-menu Class Usage Examples

Méthodes publiques

Свойство Type Description
AngleProperty Windows.UI.Xaml.DependencyProperty
CustomValueProperty Windows.UI.Xaml.DependencyProperty
IconFontFamilyProperty Windows.UI.Xaml.DependencyProperty
IconForegroundBrushProperty Windows.UI.Xaml.DependencyProperty
IconImageProperty Windows.UI.Xaml.DependencyProperty
IconImageSideLengthProperty Windows.UI.Xaml.DependencyProperty
IconProperty Windows.UI.Xaml.DependencyProperty
IconSizeProperty Windows.UI.Xaml.DependencyProperty
IndicationArcColorProperty Windows.UI.Xaml.DependencyProperty
IndicationArcDistanceFromEdgeProperty Windows.UI.Xaml.DependencyProperty
IndicationArcEndPointProperty Windows.UI.Xaml.DependencyProperty
IndicationArcIsLargeArcProperty Windows.UI.Xaml.DependencyProperty
IndicationArcSizeProperty Windows.UI.Xaml.DependencyProperty
IndicationArcStartPointProperty Windows.UI.Xaml.DependencyProperty
IndicationArcStrokeThicknessProperty Windows.UI.Xaml.DependencyProperty
IndicationArcSweepAngleProperty Windows.UI.Xaml.DependencyProperty
InnerAccessKeyProperty Windows.UI.Xaml.DependencyProperty
InnerHoverColorProperty Windows.UI.Xaml.DependencyProperty
InnerNormalColorProperty Windows.UI.Xaml.DependencyProperty
InnerReleasedColorProperty Windows.UI.Xaml.DependencyProperty
InnerTappedColorProperty Windows.UI.Xaml.DependencyProperty
IsLabelHiddenProperty Windows.UI.Xaml.DependencyProperty
LabelProperty Windows.UI.Xaml.DependencyProperty
LabelSizeProperty Windows.UI.Xaml.DependencyProperty
OriginalRadialMenuButton RadialMenuControl.Components.RadialMenuButton
OriginalRadialMenuButtonProperty Windows.UI.Xaml.DependencyProperty
OuterAccessKeyProperty Windows.UI.Xaml.DependencyProperty
OuterArcThicknessProperty Windows.UI.Xaml.DependencyProperty
OuterDisabledColorProperty Windows.UI.Xaml.DependencyProperty
OuterHoverColorProperty Windows.UI.Xaml.DependencyProperty
OuterNormalColorProperty Windows.UI.Xaml.DependencyProperty
OuterTappedColorProperty Windows.UI.Xaml.DependencyProperty
RadiusProperty Windows.UI.Xaml.DependencyProperty
StartAngleProperty Windows.UI.Xaml.DependencyProperty
StrokeColorProperty Windows.UI.Xaml.DependencyProperty
StrokeThicknessProperty Windows.UI.Xaml.DependencyProperty
UseIndicationArcsProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
ClickInner ( ) : void

Programmatically "click" the inner arc in the PieSlice

ClickOuter ( ) : void

Programmatically "click" the outer arc in the PieSlice

PieSlice ( ) : System
UpdateSliceForRadio ( ) : void

If the PieSlice has been generated by a "radio" RadialMenuButton, this method ensures the correct visual state

UpdateSliceForToggle ( ) : void

If the PieSlice has been generated by a "toggle" RadialMenuButton, this method ensures the correct visual state

Private Methods

Méthode Description
CreateCustomTextBox ( ) : void

Creates a textbox to allow input of custom values for custom type RadialMenuButtons

OnChangeMenuRequest ( object s, MenuBase sm ) : void
OnLoaded ( object sender, RoutedEventArgs routedEventArgs ) : void

Math and drawing operations for the path elements is handled in this OnLoaded event handler

SetupIndicationArc ( ) : void
innerPieSlicePath_PointerEntered ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer enter (mouse, touch, stylus) on the inner arc of the PieSlice

innerPieSlicePath_PointerExited ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer exit (mouse, touch, stylus) on the inner arc of the PieSlice

innerPieSlicePath_PointerPressed ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer press (mouse, touch, stylus) on the inner arc of the PieSlice

innerPieSlicePath_PointerReleased ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer release (mouse, touch, stylus) on the inner arc of the PieSlice

outerPieSlicePath_PointerEntered ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer enter (mouse, touch, stylus) on the outer arc of the PieSlice

outerPieSlicePath_PointerExited ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer exit (mouse, touch, stylus) on the outer arc of the PieSlice

outerPieSlicePath_PointerPressed ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer press (mouse, touch, stylus) for on the outer arc of the PieSlice

outerPieSlicePath_PointerReleased ( object sender, PointerRoutedEventArgs e ) : void

Event handler for a pointer relese (mouse, touch, stylus) on the outer arc of the PieSlice

Method Details

ClickInner() public méthode

Programmatically "click" the inner arc in the PieSlice
public ClickInner ( ) : void
Résultat void

ClickOuter() public méthode

Programmatically "click" the outer arc in the PieSlice
public ClickOuter ( ) : void
Résultat void

PieSlice() public méthode

public PieSlice ( ) : System
Résultat System

UpdateSliceForRadio() public méthode

If the PieSlice has been generated by a "radio" RadialMenuButton, this method ensures the correct visual state
public UpdateSliceForRadio ( ) : void
Résultat void

UpdateSliceForToggle() public méthode

If the PieSlice has been generated by a "toggle" RadialMenuButton, this method ensures the correct visual state
public UpdateSliceForToggle ( ) : void
Résultat void

Property Details

AngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml AngleProperty
Résultat Windows.UI.Xaml.DependencyProperty

CustomValueProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CustomValueProperty
Résultat Windows.UI.Xaml.DependencyProperty

IconFontFamilyProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconFontFamilyProperty
Résultat Windows.UI.Xaml.DependencyProperty

IconForegroundBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconForegroundBrushProperty
Résultat Windows.UI.Xaml.DependencyProperty

IconImageProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconImageProperty
Résultat Windows.UI.Xaml.DependencyProperty

IconImageSideLengthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconImageSideLengthProperty
Résultat Windows.UI.Xaml.DependencyProperty

IconProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconProperty
Résultat Windows.UI.Xaml.DependencyProperty

IconSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconSizeProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcDistanceFromEdgeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcDistanceFromEdgeProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcEndPointProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcEndPointProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcIsLargeArcProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcIsLargeArcProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcSizeProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcStartPointProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcStartPointProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcStrokeThicknessProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcStrokeThicknessProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndicationArcSweepAngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcSweepAngleProperty
Résultat Windows.UI.Xaml.DependencyProperty

InnerAccessKeyProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerAccessKeyProperty
Résultat Windows.UI.Xaml.DependencyProperty

InnerHoverColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerHoverColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

InnerNormalColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerNormalColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

InnerReleasedColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerReleasedColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

InnerTappedColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerTappedColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

IsLabelHiddenProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IsLabelHiddenProperty
Résultat Windows.UI.Xaml.DependencyProperty

LabelProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LabelProperty
Résultat Windows.UI.Xaml.DependencyProperty

LabelSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LabelSizeProperty
Résultat Windows.UI.Xaml.DependencyProperty

OriginalRadialMenuButton public_oe property

Reference to the original RadialMenuButton that was used to create this PieSLice
public RadialMenuButton,RadialMenuControl.Components OriginalRadialMenuButton
Résultat RadialMenuControl.Components.RadialMenuButton

OriginalRadialMenuButtonProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OriginalRadialMenuButtonProperty
Résultat Windows.UI.Xaml.DependencyProperty

OuterAccessKeyProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterAccessKeyProperty
Résultat Windows.UI.Xaml.DependencyProperty

OuterArcThicknessProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterArcThicknessProperty
Résultat Windows.UI.Xaml.DependencyProperty

OuterDisabledColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterDisabledColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

OuterHoverColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterHoverColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

OuterNormalColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterNormalColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

OuterTappedColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterTappedColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

RadiusProperty public_oe static_oe property

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

StartAngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StartAngleProperty
Résultat Windows.UI.Xaml.DependencyProperty

StrokeColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StrokeColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

StrokeThicknessProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StrokeThicknessProperty
Résultat Windows.UI.Xaml.DependencyProperty

UseIndicationArcsProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml UseIndicationArcsProperty
Résultat Windows.UI.Xaml.DependencyProperty