C# 클래스 System.Windows.Controls.SelectorSelectionAdapter

Represents the selection adapter contained in the drop-down portion of an T:System.Windows.Controls.AutoCompleteBox control.
상속: ISelectionAdapter
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AfterAdapterAction void
OnCancel void
OnCommit void
OnSelectionChanged void
OnSelectorMouseLeftButtonUp void
ResetScrollViewer void

공개 메소드들

메소드 설명
CreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer

Returns an automation peer for the underlying T:System.Windows.Controls.Primitives.Selector control, for use by the Silverlight automation infrastructure.

HandleKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

Provides handling for the E:System.Windows.UIElement.KeyDown event that occurs when a key is pressed while the drop-down portion of the T:System.Windows.Controls.AutoCompleteBox has focus.

SelectorSelectionAdapter ( ) : System.Collections

Initializes a new instance of the T:System.Windows.Controls.SelectorSelectionAdapter class.

SelectorSelectionAdapter ( Selector selector ) : System.Collections

Initializes a new instance of the T:System.Windows.Controls.SelectorSelectionAdapter class with the specified T:System.Windows.Controls.Primitives.Selector control.

보호된 메소드들

메소드 설명
OnCancel ( ) : void

Raises the E:System.Windows.Controls.SelectorSelectionAdapter.Cancel event.

OnCommit ( ) : void

Raises the E:System.Windows.Controls.SelectorSelectionAdapter.Commit event.

SelectedIndexDecrement ( ) : void

Decrements the P:System.Windows.Controls.Primitives.Selector.SelectedIndex property of the underlying T:System.Windows.Controls.Primitives.Selector control.

SelectedIndexIncrement ( ) : void

Increments the P:System.Windows.Controls.Primitives.Selector.SelectedIndex property of the underlying T:System.Windows.Controls.Primitives.Selector control.

비공개 메소드들

메소드 설명
AfterAdapterAction ( ) : void

Change the selection after the actions are complete.

OnCancel ( object sender, RoutedEventArgs e ) : void

Fires the Cancel event.

OnCommit ( object sender, RoutedEventArgs e ) : void

Fires the Commit event.

OnSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Handles the SelectionChanged event on the Selector control.

OnSelectorMouseLeftButtonUp ( object sender, MouseButtonEventArgs e ) : void

Handles the mouse left button up event on the selector control.

ResetScrollViewer ( ) : void

If the control contains a ScrollViewer, this will reset the viewer to be scrolled to the top.

메소드 상세

CreateAutomationPeer() 공개 메소드

Returns an automation peer for the underlying T:System.Windows.Controls.Primitives.Selector control, for use by the Silverlight automation infrastructure.
public CreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
리턴 System.Windows.Automation.Peers.AutomationPeer

HandleKeyDown() 공개 메소드

Provides handling for the E:System.Windows.UIElement.KeyDown event that occurs when a key is pressed while the drop-down portion of the T:System.Windows.Controls.AutoCompleteBox has focus.
public HandleKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs A /// that contains data about the /// event.
리턴 void

OnCancel() 보호된 메소드

Raises the E:System.Windows.Controls.SelectorSelectionAdapter.Cancel event.
protected OnCancel ( ) : void
리턴 void

OnCommit() 보호된 메소드

Raises the E:System.Windows.Controls.SelectorSelectionAdapter.Commit event.
protected OnCommit ( ) : void
리턴 void

SelectedIndexDecrement() 보호된 메소드

Decrements the P:System.Windows.Controls.Primitives.Selector.SelectedIndex property of the underlying T:System.Windows.Controls.Primitives.Selector control.
protected SelectedIndexDecrement ( ) : void
리턴 void

SelectedIndexIncrement() 보호된 메소드

Increments the P:System.Windows.Controls.Primitives.Selector.SelectedIndex property of the underlying T:System.Windows.Controls.Primitives.Selector control.
protected SelectedIndexIncrement ( ) : void
리턴 void

SelectorSelectionAdapter() 공개 메소드

Initializes a new instance of the T:System.Windows.Controls.SelectorSelectionAdapter class.
public SelectorSelectionAdapter ( ) : System.Collections
리턴 System.Collections

SelectorSelectionAdapter() 공개 메소드

Initializes a new instance of the T:System.Windows.Controls.SelectorSelectionAdapter class with the specified T:System.Windows.Controls.Primitives.Selector control.
public SelectorSelectionAdapter ( Selector selector ) : System.Collections
selector Selector The /// control /// to wrap as a /// .
리턴 System.Collections