C# Class csShared.Controls.RadialPanel

A radial panel
Inheritance: System.Windows.Controls.Panel
Datei anzeigen 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_oe static_oe property

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

ItemOrientationProperty public_oe static_oe property

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

RadiusProperty public_oe static_oe property

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