C# 클래스 RadialMenuControl.UserControl.Floating

상속: Windows.UI.Xaml.Controls.ContentControl
파일 보기 프로젝트 열기: CatalystCode/radial-menu

공개 프로퍼티들

프로퍼티 타입 설명
IsBoundByParentProperty Windows.UI.Xaml.DependencyProperty
IsBoundByScreenProperty Windows.UI.Xaml.DependencyProperty
ShouldManiuplateChildProperty Windows.UI.Xaml.DependencyProperty

공개 메소드들

메소드 설명
Floating ( ) : System

Initializes a new instance of the Floating class.

ManipulateControlPosition ( double x, double y ) : void

Manipulate the control's positon!

ManipulateControlPosition ( double x, double y, double exptectedHeight, double expectedWidth ) : void

Manipulate the control's positon!

보호된 메소드들

메소드 설명
OnApplyTemplate ( ) : void

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

비공개 메소드들

메소드 설명
AdjustCanvasPosition ( Rect rect ) : void

Adjusts the canvas position according to the IsBoundBy* properties.

AdjustedPosition ( Rect rect, Rect parentRect ) : Point

Returns the adjusted the topleft position of a rectangle so that is stays within a parent rectangle.

Border_ManipulationDelta ( object sender, ManipulationDeltaRoutedEventArgs e ) : void

Handler for ManuplationDelta event

Floating_Loaded ( object sender, RoutedEventArgs e ) : void

Loaded handler which registers for the SizeChanged event.

Floating_SizeChanged ( object sender, SizeChangedEventArgs e ) : void

Size Changed Handler for Control

GetClosestParentWithSize ( FrameworkElement element ) : FrameworkElement

Gets the closest parent with a real size.

메소드 상세

Floating() 공개 메소드

Initializes a new instance of the Floating class.
public Floating ( ) : System
리턴 System

ManipulateControlPosition() 공개 메소드

Manipulate the control's positon!
public ManipulateControlPosition ( double x, double y ) : void
x double Delta on the X axis
y double Delta on the Y axis
리턴 void

ManipulateControlPosition() 공개 메소드

Manipulate the control's positon!
public ManipulateControlPosition ( double x, double y, double exptectedHeight, double expectedWidth ) : void
x double Delta on the X axis
y double Delta on the Y axis
exptectedHeight double Expected heigth of the floating control
expectedWidth double Expected width of the floating control
리턴 void

OnApplyTemplate() 보호된 메소드

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
리턴 void

프로퍼티 상세

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

public static DependencyProperty,Windows.UI.Xaml IsBoundByParentProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

public static DependencyProperty,Windows.UI.Xaml IsBoundByScreenProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

public static DependencyProperty,Windows.UI.Xaml ShouldManiuplateChildProperty
리턴 Windows.UI.Xaml.DependencyProperty