C# Class UniversalComposition.ElementManager

显示文件 Open project: juanpaexpedite/MasterDetailsComposition

Public Methods

Method Description
GetPage ( UIElement element ) : Task
GetParentInScroller ( UIElement element ) : UIElement
GetScrollViewer ( UIElement element ) : Task
IsElementFullVisible ( FrameworkElement element, FrameworkElement container ) : bool
IsElementPartialVisible ( FrameworkElement element, FrameworkElement container ) : bool
IsElementVisible ( FrameworkElement element, ScrollViewer container ) : bool

Method Details

GetPage() public static method

public static GetPage ( UIElement element ) : Task
element Windows.UI.Xaml.UIElement
return Task

GetParentInScroller() public static method

public static GetParentInScroller ( UIElement element ) : UIElement
element Windows.UI.Xaml.UIElement
return Windows.UI.Xaml.UIElement

GetScrollViewer() public static method

public static GetScrollViewer ( UIElement element ) : Task
element Windows.UI.Xaml.UIElement
return Task

IsElementFullVisible() public static method

public static IsElementFullVisible ( FrameworkElement element, FrameworkElement container ) : bool
element Windows.UI.Xaml.FrameworkElement
container Windows.UI.Xaml.FrameworkElement
return bool

IsElementPartialVisible() public static method

public static IsElementPartialVisible ( FrameworkElement element, FrameworkElement container ) : bool
element Windows.UI.Xaml.FrameworkElement
container Windows.UI.Xaml.FrameworkElement
return bool

IsElementVisible() public static method

public static IsElementVisible ( FrameworkElement element, ScrollViewer container ) : bool
element Windows.UI.Xaml.FrameworkElement
container Windows.UI.Xaml.Controls.ScrollViewer
return bool