C# Class RadialMenuControl.UserControl.PieSlice

Inheritance: Windows.UI.Xaml.Controls.UserControl
Exibir arquivo Open project: CatalystCode/radial-menu Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Method 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 method

Programmatically "click" the inner arc in the PieSlice
public ClickInner ( ) : void
return void

ClickOuter() public method

Programmatically "click" the outer arc in the PieSlice
public ClickOuter ( ) : void
return void

PieSlice() public method

public PieSlice ( ) : System
return System

UpdateSliceForRadio() public method

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

UpdateSliceForToggle() public method

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

Property Details

AngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml AngleProperty
return Windows.UI.Xaml.DependencyProperty

CustomValueProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CustomValueProperty
return Windows.UI.Xaml.DependencyProperty

IconFontFamilyProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconFontFamilyProperty
return Windows.UI.Xaml.DependencyProperty

IconForegroundBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconForegroundBrushProperty
return Windows.UI.Xaml.DependencyProperty

IconImageProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconImageProperty
return Windows.UI.Xaml.DependencyProperty

IconImageSideLengthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconImageSideLengthProperty
return Windows.UI.Xaml.DependencyProperty

IconProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconProperty
return Windows.UI.Xaml.DependencyProperty

IconSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IconSizeProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcColorProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcDistanceFromEdgeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcDistanceFromEdgeProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcEndPointProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcEndPointProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcIsLargeArcProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcIsLargeArcProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcSizeProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcStartPointProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcStartPointProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcStrokeThicknessProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcStrokeThicknessProperty
return Windows.UI.Xaml.DependencyProperty

IndicationArcSweepAngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IndicationArcSweepAngleProperty
return Windows.UI.Xaml.DependencyProperty

InnerAccessKeyProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerAccessKeyProperty
return Windows.UI.Xaml.DependencyProperty

InnerHoverColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerHoverColorProperty
return Windows.UI.Xaml.DependencyProperty

InnerNormalColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerNormalColorProperty
return Windows.UI.Xaml.DependencyProperty

InnerReleasedColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerReleasedColorProperty
return Windows.UI.Xaml.DependencyProperty

InnerTappedColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerTappedColorProperty
return Windows.UI.Xaml.DependencyProperty

IsLabelHiddenProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IsLabelHiddenProperty
return Windows.UI.Xaml.DependencyProperty

LabelProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LabelProperty
return Windows.UI.Xaml.DependencyProperty

LabelSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LabelSizeProperty
return 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
return RadialMenuControl.Components.RadialMenuButton

OriginalRadialMenuButtonProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OriginalRadialMenuButtonProperty
return Windows.UI.Xaml.DependencyProperty

OuterAccessKeyProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterAccessKeyProperty
return Windows.UI.Xaml.DependencyProperty

OuterArcThicknessProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterArcThicknessProperty
return Windows.UI.Xaml.DependencyProperty

OuterDisabledColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterDisabledColorProperty
return Windows.UI.Xaml.DependencyProperty

OuterHoverColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterHoverColorProperty
return Windows.UI.Xaml.DependencyProperty

OuterNormalColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterNormalColorProperty
return Windows.UI.Xaml.DependencyProperty

OuterTappedColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OuterTappedColorProperty
return Windows.UI.Xaml.DependencyProperty

RadiusProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml RadiusProperty
return Windows.UI.Xaml.DependencyProperty

StartAngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StartAngleProperty
return Windows.UI.Xaml.DependencyProperty

StrokeColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StrokeColorProperty
return Windows.UI.Xaml.DependencyProperty

StrokeThicknessProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StrokeThicknessProperty
return Windows.UI.Xaml.DependencyProperty

UseIndicationArcsProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml UseIndicationArcsProperty
return Windows.UI.Xaml.DependencyProperty