C# 클래스 Yuhan.WPF.MenuKiller.CircularPanel

Assumptions: o The child elements are on a circle. The children will be centered respective to a point they provide (MenuKillerItems), otherwise to their center. o There is a multitude of options on how the panel is supposed to behave, but within the arrange and measure methods, this information is compressed into very few variables.
상속: System.Windows.Controls.Panel, ICustomAlignedControl
파일 보기 프로젝트 열기: hansuky/Yuhan 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AngleSpacingProperty System.Windows.DependencyProperty
EndAngleProperty System.Windows.DependencyProperty
RadiusProperty System.Windows.DependencyProperty
StartAngleProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
GetChildOffset System.Windows.Vector
RecalcParams void
UpdateRenderAngleSpacing void

공개 메소드들

메소드 설명
CircularPanel ( ) : System

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size
OnRender ( System.Windows.Media.DrawingContext dc ) : void

비공개 메소드들

메소드 설명
GetChildOffset ( UIElement child, double dAngle ) : System.Windows.Vector
RecalcParams ( ) : void
UpdateRenderAngleSpacing ( ) : void

Updates the RenderAngleSpacing and handles the 'Auto' case when AngleSpacing is NaN.

메소드 상세

ArrangeOverride() 보호된 메소드

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
리턴 System.Windows.Size

CircularPanel() 공개 메소드

public CircularPanel ( ) : System
리턴 System

MeasureOverride() 보호된 메소드

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
리턴 System.Windows.Size

OnRender() 보호된 메소드

protected OnRender ( System.Windows.Media.DrawingContext dc ) : void
dc System.Windows.Media.DrawingContext
리턴 void

프로퍼티 상세

AngleSpacingProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows AngleSpacingProperty
리턴 System.Windows.DependencyProperty

EndAngleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows EndAngleProperty
리턴 System.Windows.DependencyProperty

RadiusProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows RadiusProperty
리턴 System.Windows.DependencyProperty

StartAngleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows StartAngleProperty
리턴 System.Windows.DependencyProperty