C# Class csShared.Controls.RadialPanel

A radial panel
Inheritance: System.Windows.Controls.Panel
Show file Open project: TNOCS/csTouch

Public Properties

Property Type Description
ItemAlignmentProperty System.Windows.DependencyProperty
ItemOrientationProperty System.Windows.DependencyProperty
RadiusProperty System.Windows.DependencyProperty

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size
OnItemAlignmentChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

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

OnItemOrientationChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

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

OnRadiusChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

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

Private Methods

Method Description
DesiredRadius ( Size max ) : double
OnItemAlignmentChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ItemAlignment property.

OnItemOrientationChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ItemOrientation property.

OnRadiusChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Radius property.

Refresh ( Size size ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
return System.Windows.Size

OnItemAlignmentChanged() protected method

Provides derived classes an opportunity to handle changes to the ItemAlignment property.
protected OnItemAlignmentChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnItemOrientationChanged() protected method

Provides derived classes an opportunity to handle changes to the ItemOrientation property.
protected OnItemOrientationChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnRadiusChanged() protected method

Provides derived classes an opportunity to handle changes to the Radius property.
protected OnRadiusChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

Property Details

ItemAlignmentProperty public static property

ItemAlignment Dependency Property
public static DependencyProperty,System.Windows ItemAlignmentProperty
return System.Windows.DependencyProperty

ItemOrientationProperty public static property

ItemOrientation Dependency Property
public static DependencyProperty,System.Windows ItemOrientationProperty
return System.Windows.DependencyProperty

RadiusProperty public static property

Radius Dependency Property
public static DependencyProperty,System.Windows RadiusProperty
return System.Windows.DependencyProperty