C# 클래스 ZSCY_Win10.Controls.NavMenuListView

상속: Windows.UI.Xaml.Controls.ListView
파일 보기 프로젝트 열기: RedrockTeam/ZSCY_Windows_V2.0

공개 메소드들

메소드 설명
NavMenuListView ( ) : System
SetSelectedItem ( ListViewItem item ) : void

Mark the item as selected and ensures everything else is not. If the item is null then everything is unselected.

보호된 메소드들

메소드 설명
OnApplyTemplate ( ) : void
OnKeyDown ( KeyRoutedEventArgs e ) : void

Custom keyboarding logic to enable movement via the arrow keys without triggering selection until a 'Space' or 'Enter' key is pressed.

비공개 메소드들

메소드 설명
InvokeItem ( object focusedItem ) : void
ItemClickedHandler ( object sender, ItemClickEventArgs e ) : void
OnPaneToggled ( ) : void

Re-size the ListView's Panel when the SplitView is compact so the items will fit within the visible space and correctly display a keyboard focus rect.

TryMoveFocus ( FocusNavigationDirection direction ) : void

This method is a work-around until the bug in FocusManager.TryMoveFocus is fixed.

메소드 상세

NavMenuListView() 공개 메소드

public NavMenuListView ( ) : System
리턴 System

OnApplyTemplate() 보호된 메소드

protected OnApplyTemplate ( ) : void
리턴 void

OnKeyDown() 보호된 메소드

Custom keyboarding logic to enable movement via the arrow keys without triggering selection until a 'Space' or 'Enter' key is pressed.
protected OnKeyDown ( KeyRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.KeyRoutedEventArgs
리턴 void

SetSelectedItem() 공개 메소드

Mark the item as selected and ensures everything else is not. If the item is null then everything is unselected.
public SetSelectedItem ( ListViewItem item ) : void
item Windows.UI.Xaml.Controls.ListViewItem
리턴 void