C# Класс RadialMenuControl.UserControl.Floating

Наследование: Windows.UI.Xaml.Controls.ContentControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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